function MediaLibraryFieldWidgetOpener::__construct
Same name in other branches
- 8.9.x core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php \Drupal\media_library\MediaLibraryFieldWidgetOpener::__construct()
- 10 core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php \Drupal\media_library\MediaLibraryFieldWidgetOpener::__construct()
- 11.x 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 35
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.