You are here

public function MediaDealerPluginInterface::alterMediaFieldFormatterMigrationDefinition in Media Migration 8

Alters the definition of the media field's formatter settings migration.

Parameters

mixed[] $migration_definition: The migration definition of the current derived media field's formatter settings migration.

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

1 method overrides MediaDealerPluginInterface::alterMediaFieldFormatterMigrationDefinition()
DummyMediaDealerPlugin::alterMediaFieldFormatterMigrationDefinition in tests/src/Kernel/Plugin/migrate/source/DummyMediaDealerPlugin.php
Alters the definition of the media field's formatter settings migration.

File

src/MediaDealerPluginInterface.php, line 113

Class

MediaDealerPluginInterface
Base interface for media dealer plugins.

Namespace

Drupal\media_migration

Code

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