public function DummyMediaDealerPlugin::getDestinationMediaTypeId in Media Migration 8
Returns the destination media type's ID.
Return value
string The ID of the destination media type.
Overrides MediaDealerPluginInterface::getDestinationMediaTypeId
3 calls to DummyMediaDealerPlugin::getDestinationMediaTypeId()
- DummyMediaDealerPlugin::getDestinationMediaSourceFieldName in tests/
src/ Kernel/ Plugin/ migrate/ source/ DummyMediaDealerPlugin.php - Returns the destination media type's source field name.
- DummyMediaDealerPlugin::getDestinationMediaTypeLabel in tests/
src/ Kernel/ Plugin/ migrate/ source/ DummyMediaDealerPlugin.php - Returns the label of the destination media type.
- DummyMediaDealerPlugin::getDestinationMediaTypeSourceFieldLabel in tests/
src/ Kernel/ Plugin/ migrate/ source/ DummyMediaDealerPlugin.php - Returns the label of the destination media type's source field.
File
- tests/
src/ Kernel/ Plugin/ migrate/ source/ DummyMediaDealerPlugin.php, line 18
Class
- DummyMediaDealerPlugin
- A Dummy media dealer plugin for testing Media Migration.
Namespace
Drupal\Tests\media_migration\Kernel\Plugin\migrate\sourceCode
public function getDestinationMediaTypeId() {
return implode('_', array_filter([
$this
->getDestinationMediaTypeIdBase(),
$this->configuration['scheme'] === 'public' ? NULL : $this->configuration['scheme'],
]));
}