public function MediaSubFormManagerInterface::getMediaFormDisplay in Media Bulk Upload 8
Get the media form display for the given media type.
Parameters
\Drupal\media_bulk_upload\Entity\MediaBulkConfigInterface $mediaBulkConfig: Media bulk config entity.
\Drupal\media\MediaTypeInterface $mediaType: The media type.
Return value
\Drupal\Core\Entity\Display\EntityFormDisplayInterface The media form display to get the field widgets from.
1 method overrides MediaSubFormManagerInterface::getMediaFormDisplay()
- MediaSubFormManager::getMediaFormDisplay in src/
MediaSubFormManager.php - Get the media form display for the given media type.
File
- src/
MediaSubFormManagerInterface.php, line 63
Class
- MediaSubFormManagerInterface
- Class MediaSubFormManager.
Namespace
Drupal\media_bulk_uploadCode
public function getMediaFormDisplay(MediaBulkConfigInterface $mediaBulkConfig, MediaTypeInterface $mediaType);