public function MediaDealerBase::getDestinationMediaTypeId in Media Migration 8
1 call to MediaDealerBase::getDestinationMediaTypeId()
- MediaDealerBase::getMediaSourceFieldInstance in src/
MediaDealerBase.php - Returns a media source field instance.
1 method overrides MediaDealerBase::getDestinationMediaTypeId()
- RemoteVideoBase::getDestinationMediaTypeId in src/
Plugin/ media_migration/ file_entity/ RemoteVideoBase.php
File
- src/
MediaDealerBase.php, line 94
Class
- MediaDealerBase
- Base implementation of media dealer plugins.
Namespace
Drupal\media_migrationCode
public function getDestinationMediaTypeId() {
return implode('_', array_filter([
$this
->getDestinationMediaTypeIdBase(),
$this->configuration['scheme'] === 'public' ? NULL : $this->configuration['scheme'],
]));
}