public function MigratePluginAlterer::alter in Media Migration 8
Alters migrate plugins.
Parameters
array $migrations: The array of migration plugins.
Throws
\Drupal\Component\Plugin\Exception\PluginException If a plugin cannot be found.
File
- src/
MigratePluginAlterer.php, line 70
Class
- MigratePluginAlterer
- Service for performing migration plugin alterations.
Namespace
Drupal\media_migrationCode
public function alter(array &$migrations) {
$this
->alterFieldMigrations($migrations);
$this
->addMediaWysiwygProcessor($migrations);
$this
->alterFilterFormatMigration($migrations);
}