You are here

function feeds_update_8001 in Feeds 8.3

Resave all feed types to recalculate config dependencies.

File

./feeds.install, line 43
Install/update/uninstall hooks.

Code

function feeds_update_8001() {
  foreach (\Drupal::entityTypeManager()
    ->getStorage('feeds_feed_type')
    ->loadMultiple() as $feed_type) {
    $feed_type
      ->save();
  }
}