You are here

service media_library.opener.field_widget in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media_library/media_library.services.yml \media_library.opener.field_widget

Class

Drupal\media_library\MediaLibraryFieldWidgetOpener
6 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.

... See full list

File

core/modules/media_library/media_library.services.yml
core/modules/media_library/media_library.services.yml

View source
  1. class: Drupal\media_library\MediaLibraryFieldWidgetOpener
  2. arguments:
  3. - '@entity_type.manager'