You are here

function eck_update_8002 in Entity Construction Kit (ECK) 8

Re-save all bundles for all entities to set the correct dependencies.

File

./eck.install, line 39

Code

function eck_update_8002() {
  $bundles = EckEntityBundle::loadMultiple();
  foreach ($bundles as $bundle) {
    $bundle
      ->save();
  }
}