public function MediaDealerBase::getDestinationMediaSourceFieldName in Media Migration 8
6 calls to MediaDealerBase::getDestinationMediaSourceFieldName()
- Fallback::getDestinationMediaSourceFieldName in src/
Plugin/ media_migration/ file/ Fallback.php - FileBase::alterMediaEntityMigrationDefinition in src/
Plugin/ media_migration/ file_entity/ FileBase.php - Image::alterMediaEntityMigrationDefinition in src/
Plugin/ media_migration/ file/ Image.php - Alters the definition of the media entity migration.
- Image::alterMediaEntityMigrationDefinition in src/
Plugin/ media_migration/ file_entity/ Image.php - MediaDealerBase::getMediaSourceFieldInstance in src/
MediaDealerBase.php - Returns a media source field instance.
4 methods override MediaDealerBase::getDestinationMediaSourceFieldName()
- Document::getDestinationMediaSourceFieldName in src/
Plugin/ media_migration/ file_entity/ Document.php - Fallback::getDestinationMediaSourceFieldName in src/
Plugin/ media_migration/ file/ Fallback.php - Fallback::getDestinationMediaSourceFieldName in src/
Plugin/ media_migration/ file_entity/ Fallback.php - RemoteVideoBase::getDestinationMediaSourceFieldName in src/
Plugin/ media_migration/ file_entity/ RemoteVideoBase.php
File
- src/
MediaDealerBase.php, line 121
Class
- MediaDealerBase
- Base implementation of media dealer plugins.
Namespace
Drupal\media_migrationCode
public function getDestinationMediaSourceFieldName() {
return implode('_', array_filter([
'field',
'media',
str_replace(':', '_', $this
->getDestinationMediaSourcePluginId()),
$this->configuration['scheme'] === 'public' ? NULL : $this->configuration['scheme'],
]));
}