The update script example could use some updating.

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

StatusFileSize
new2.92 KB

This appears to work fine, and avoids some extra entity queries that aren't strictly needed.

  • DamienMcKenna committed bf4ea63 on 8.x-1.x
    Issue #3002320 by DamienMcKenna: Improve update script example.
    

  • DamienMcKenna committed 940043f on 8.x-1.x
    Issue #3002320 by DamienMcKenna: Improve update script example.
    
damienmckenna’s picture

Status: Active » Fixed

Committed.

damienmckenna’s picture

(I actually revised it a little in the second commit)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.