public function MediaTypeManager::getMediaTypeExtensions in Media Bulk Upload 8
Get the Media Type extensions.
Parameters
\Drupal\media\MediaTypeInterface $mediaType: Media Type.
Return value
array Target Field Settings.
Overrides MediaTypeManagerInterface::getMediaTypeExtensions
1 call to MediaTypeManager::getMediaTypeExtensions()
- MediaTypeManager::processMediaTypeExtensions in src/
MediaTypeManager.php - Process the extensions belonging to the media type.
File
- src/
MediaTypeManager.php, line 93
Class
- MediaTypeManager
- Class MediaTypeManager
Namespace
Drupal\media_bulk_uploadCode
public function getMediaTypeExtensions(MediaTypeInterface $mediaType) {
return $this
->getTargetFieldExtensions($this
->getTargetFieldSettings($mediaType));
}