service media_library.opener.field_widget in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media_library/media_library.services.yml \media_library.opener.field_widget
- 9 core/modules/media_library/media_library.services.yml \media_library.opener.field_widget
Class
Drupal\media_library\MediaLibraryFieldWidgetOpener6 string references to media_library.opener.field_widget
- MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity creation permissions.
- MediaLibraryAccessTest::testFieldWidgetEntityEditAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity-specific access.
- MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity field-level access.
- MediaLibraryAccessTest::testViewAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that media library access respects the media_library view.
- MediaLibraryWidget::formElement in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Returns the form for a single field widget.
File
- core/
modules/ media_library/ media_library.services.yml - core/modules/media_library/media_library.services.yml
View source
- class: Drupal\media_library\MediaLibraryFieldWidgetOpener
- arguments:
- - '@entity_type.manager'