public function MediaDealerPluginInterface::alterMediaSourceFieldInstanceMigrationDefinition in Media Migration 8
Alters the definition of the media source field instance migration.
Parameters
mixed[] $migration_definition: The migration definition of the current derived media source field instance migration.
\Drupal\Core\Database\Connection $connection: The database connection of the source Drupal 7 instance.
1 method overrides MediaDealerPluginInterface::alterMediaSourceFieldInstanceMigrationDefinition()
- DummyMediaDealerPlugin::alterMediaSourceFieldInstanceMigrationDefinition in tests/
src/ Kernel/ Plugin/ migrate/ source/ DummyMediaDealerPlugin.php - Alters the definition of the media source field instance migration.
File
- src/
MediaDealerPluginInterface.php, line 91
Class
- MediaDealerPluginInterface
- Base interface for media dealer plugins.
Namespace
Drupal\media_migrationCode
public function alterMediaSourceFieldInstanceMigrationDefinition(array &$migration_definition, Connection $connection) : void;