public function RemoteVideoBase::alterMediaEntityMigrationDefinition in Media Migration 8
Overrides MediaDealerBase::alterMediaEntityMigrationDefinition
File
- src/
Plugin/ media_migration/ file_entity/ RemoteVideoBase.php, line 52
Class
- RemoteVideoBase
- Abstract plugin class for remote video media migration source plugins.
Namespace
Drupal\media_migration\Plugin\media_migration\file_entityCode
public function alterMediaEntityMigrationDefinition(array &$migration_definition, Connection $connection) : void {
$migration_definition['process'][$this
->getDestinationMediaSourceFieldName() . '/value'] = [
'plugin' => 'media_internet_field_value',
'source' => 'uri',
];
}