You are here

public function MediaDealerPluginInterface::alterMediaEntityMigrationDefinition in Media Migration 8

Alters the definition of the media entity migration.

Parameters

mixed[] $migration_definition: The migration definition of the current derived media entity migration.

\Drupal\Core\Database\Connection $connection: The database connection of the source Drupal 7 instance.

1 method overrides MediaDealerPluginInterface::alterMediaEntityMigrationDefinition()
DummyMediaDealerPlugin::alterMediaEntityMigrationDefinition in tests/src/Kernel/Plugin/migrate/source/DummyMediaDealerPlugin.php
Alters the definition of the media entity migration.

File

src/MediaDealerPluginInterface.php, line 123

Class

MediaDealerPluginInterface
Base interface for media dealer plugins.

Namespace

Drupal\media_migration

Code

public function alterMediaEntityMigrationDefinition(array &$migration_definition, Connection $connection) : void;