- Issue created by @steven jones
In the Drupal 7 version of this module we had some nice functionality for looping over entities, and doing interesting things with them in update hooks.
Specifically we had cm_tools_update_missing_default_field_values_insert
: https://github.com/computerminds/cm_tools/blob/bc2299cfa15063f4baff2afe7... that would allow you to specify an entity type, bundle and some fields to fill in the 'default value' for.
This was super for when adding a new field, because you could then make it required, and existing entities would have their values updated to the default.
Port the code to Drupal 10!
Active
2.0
Code