public function MediaLibraryFieldWidgetOpener::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php \Drupal\media_library\MediaLibraryFieldWidgetOpener::__construct()
MediaLibraryFieldWidgetOpener constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ media_library/ src/ MediaLibraryFieldWidgetOpener.php, line 34
Class
- MediaLibraryFieldWidgetOpener
- The media library opener for field widgets.
Namespace
Drupal\media_libraryCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}