MediaKernelTestBase::$user |
property |
core/modules/media/tests/src/Kernel/MediaKernelTestBase.php |
A user. |
MediaKernelTestBase::generateMedia |
function |
core/modules/media/tests/src/Kernel/MediaKernelTestBase.php |
Helper to generate a media item. |
MediaKernelTestBase::setUp |
function |
core/modules/media/tests/src/Kernel/MediaKernelTestBase.php |
|
MediaLibraryAccessTest |
class |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests the media library access. |
MediaLibraryAccessTest.php |
file |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
|
MediaLibraryAccessTest::$modules |
property |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Modules to enable. |
MediaLibraryAccessTest::assertAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Asserts various aspects of an access result. |
MediaLibraryAccessTest::editorOpenerAccessProvider |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Data provider for ::testEditorOpenerAccess. |
MediaLibraryAccessTest::setUp |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
|
MediaLibraryAccessTest::testEditorOpenerAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
@covers \Drupal\media_library\MediaLibraryEditorOpener::checkAccess |
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity creation permissions. |
MediaLibraryAccessTest::testFieldWidgetEntityEditAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity-specific access. |
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity field-level access. |
MediaLibraryAccessTest::testMediaLibraryImageStyleAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that users can't delete the 'media_library' image style. |
MediaLibraryAccessTest::testViewAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that media library access respects the media_library view. |
MediaLibraryAddFormTest |
class |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Tests the media library add form. |
MediaLibraryAddFormTest.php |
file |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
|
MediaLibraryAddFormTest::$modules |
property |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Modules to enable. |
MediaLibraryAddFormTest::buildLibraryUi |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Build the media library UI for a selected type. |
MediaLibraryAddFormTest::setUp |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
|
MediaLibraryAddFormTest::testDifferentAddForm |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Tests overwriting of the add form. |
MediaLibraryAddFormTest::testFormStateValidation |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Tests the validation of the library state in the media library add form. |
MediaLibraryAddFormTest::testMediaTypeAddForm |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Tests the media library add form. |
MediaLibraryAddFormTest::testSelectedTypeValidation |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php |
Tests the validation of the selected type in the media library add form. |
MediaLibraryDisplayModeTest |
class |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
Tests that the Media Library automatically configures form/view modes. |
MediaLibraryDisplayModeTest.php |
file |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
|
MediaLibraryDisplayModeTest::$defaultTheme |
property |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
The theme to install as the default for testing. |
MediaLibraryDisplayModeTest::$modules |
property |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
Modules to enable. |
MediaLibraryDisplayModeTest::assertFormDisplay |
function |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
Asserts the media library form display components for a media type. |
MediaLibraryDisplayModeTest::assertViewDisplay |
function |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
Asserts the media library view display components for a media type. |
MediaLibraryDisplayModeTest::setUp |
function |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
|
MediaLibraryDisplayModeTest::testDisplayModes |
function |
core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php |
Tests that the Media Library can automatically configure display modes. |
MediaLibraryEditorOpener |
class |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
The media library opener for text editors. |
MediaLibraryEditorOpener.php |
file |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
|
MediaLibraryEditorOpener::$filterStorage |
property |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
The text format entity storage. |
MediaLibraryEditorOpener::$mediaStorage |
property |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
The media storage. |
MediaLibraryEditorOpener::checkAccess |
function |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
Checks media library access. |
MediaLibraryEditorOpener::getSelectionResponse |
function |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
Generates a response after selecting media items in the media library. |
MediaLibraryEditorOpener::__construct |
function |
core/modules/media_library/src/MediaLibraryEditorOpener.php |
The MediaLibraryEditorOpener constructor. |
MediaLibraryFieldWidgetOpener |
class |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
The media library opener for field widgets. |
MediaLibraryFieldWidgetOpener.php |
file |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
|
MediaLibraryFieldWidgetOpener::$entityTypeManager |
property |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
The entity type manager. |
MediaLibraryFieldWidgetOpener::checkAccess |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
Checks media library access. |
MediaLibraryFieldWidgetOpener::getSelectionResponse |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
Generates a response after selecting media items in the media library. |
MediaLibraryFieldWidgetOpener::__construct |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
MediaLibraryFieldWidgetOpener constructor. |
MediaLibraryInceptionWidget |
class |
core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php |
Plugin implementation of the 'media_library_inception_widget' widget. |
MediaLibraryInceptionWidget.php |
file |
core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php |
|
MediaLibraryInceptionWidget::elementValidate |
function |
core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php |
|
MediaLibraryInceptionWidget::formElement |
function |
core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php |
Returns the form for a single field widget. |
MediaLibraryOpenerInterface |
interface |
core/modules/media_library/src/MediaLibraryOpenerInterface.php |
Defines an interface for media library openers. |