interface MediaDealerPluginInterface in Media Migration 8
Base interface for media dealer plugins.
Hierarchy
- interface \Drupal\media_migration\MediaDealerPluginInterface
Expanded class hierarchy of MediaDealerPluginInterface
All classes that implement MediaDealerPluginInterface
File
- src/
MediaDealerPluginInterface.php, line 11
Namespace
Drupal\media_migrationView source
interface MediaDealerPluginInterface {
/**
* Returns the destination media type's ID.
*
* @return string
* The ID of the destination media type.
*/
public function getDestinationMediaTypeId();
/**
* Returns the destination media type's ID base.
*
* @return string
* The base ID of the destination media type.
*/
public function getDestinationMediaTypeIdBase();
/**
* Returns the label of the destination media type.
*
* @return string
* The label of the destination media type.
*/
public function getDestinationMediaTypeLabel();
/**
* Returns the label of the destination media type's source field.
*
* @return string
* The label of the source field.
*/
public function getDestinationMediaTypeSourceFieldLabel();
/**
* Returns the destination media type's source field name.
*
* @return string
* The name of the destination media type's source field.
*/
public function getDestinationMediaSourceFieldName();
/**
* Returns the destination media type's source plugin ID.
*
* @return string
* The ID of the destination media type's source plugin.
*/
public function getDestinationMediaSourcePluginId();
/**
* Alters the definition of the media type migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media type migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaTypeMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Alters the definition of the media source field storage migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media source field
* storage migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaSourceFieldStorageMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Alters the definition of the media source field instance migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media source field
* instance migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaSourceFieldInstanceMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Alters the definition of the media source field widget settings migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media source field
* widget settings migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaSourceFieldWidgetMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Alters the definition of the media field's formatter settings migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media field's formatter
* settings migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaFieldFormatterMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Alters the definition of the media entity migration.
*
* @param mixed[] $migration_definition
* The migration definition of the current derived media entity migration.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function alterMediaEntityMigrationDefinition(array &$migration_definition, Connection $connection) : void;
/**
* Prepares the migration row of a media type.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaTypeRow(Row $row, Connection $connection) : void;
/**
* Prepares the migration row of a media source field storage.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaSourceFieldStorageRow(Row $row, Connection $connection) : void;
/**
* Prepares the migration row of a media source field instance.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaSourceFieldInstanceRow(Row $row, Connection $connection) : void;
/**
* Prepares the migration row of a media field widget configuration.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaSourceFieldWidgetRow(Row $row, Connection $connection) : void;
/**
* Prepares the migration row of a media field formatter configuration.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaSourceFieldFormatterRow(Row $row, Connection $connection) : void;
/**
* Prepares the migration row of a media item.
*
* @param \Drupal\migrate\Row $row
* The current migration row.
* @param \Drupal\Core\Database\Connection $connection
* The database connection of the source Drupal 7 instance.
*/
public function prepareMediaEntityRow(Row $row, Connection $connection) : void;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media entity migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media field's formatter settings migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media source field instance migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media source field storage migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media source field widget settings migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Alters the definition of the media type migration. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the destination media type's source field name. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the destination media type's source plugin ID. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the destination media type's ID. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the destination media type's ID base. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the label of the destination media type. | 1 |
MediaDealerPluginInterface:: |
public | function | Returns the label of the destination media type's source field. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media item. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media field formatter configuration. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media source field instance. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media source field storage. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media field widget configuration. | 1 |
MediaDealerPluginInterface:: |
public | function | Prepares the migration row of a media type. | 1 |