function paragraphs_migration_plugins_alter

Implements hook_migration_plugins_alter().

@todo refactor/rethink this when https://www.drupal.org/project/drupal/issues/2904765 is resolved

File

paragraphs/paragraphs.module, line 450
Contains paragraphs.module

Code

function paragraphs_migration_plugins_alter(array &$migrations) {
  $migration_plugins_alterer = \Drupal::service('paragraphs.migration_plugins_alterer');
  assert($migration_plugins_alterer instanceof MigrationPluginsAlterer);
  $migration_plugins_alterer
    ->alterMigrationPlugins($migrations);
}