| MediaLibraryServiceProvider.php |
file |
core/modules/media_library/src/MediaLibraryServiceProvider.php |
|
| MediaLibraryServiceProvider::register |
function |
core/modules/media_library/src/MediaLibraryServiceProvider.php |
Registers services to the container. |
| MediaLibraryState |
class |
core/modules/media_library/src/MediaLibraryState.php |
A value object for the media library state. |
| MediaLibraryState.php |
file |
core/modules/media_library/src/MediaLibraryState.php |
|
| MediaLibraryState::create |
function |
core/modules/media_library/src/MediaLibraryState.php |
Creates a new MediaLibraryState object. |
| MediaLibraryState::fromRequest |
function |
core/modules/media_library/src/MediaLibraryState.php |
Get the media library state from a request. |
| MediaLibraryState::getAllowedTypeIds |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the media type IDs which can be selected. |
| MediaLibraryState::getAvailableSlots |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the number of additional media items that can be selected. |
| MediaLibraryState::getCacheContexts |
function |
core/modules/media_library/src/MediaLibraryState.php |
The cache contexts associated with this object. |
| MediaLibraryState::getCacheMaxAge |
function |
core/modules/media_library/src/MediaLibraryState.php |
The maximum age for which this object may be cached. |
| MediaLibraryState::getCacheTags |
function |
core/modules/media_library/src/MediaLibraryState.php |
The cache tags associated with this object. |
| MediaLibraryState::getHash |
function |
core/modules/media_library/src/MediaLibraryState.php |
Get the hash for the state object. |
| MediaLibraryState::getOpenerId |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the ID of the media library opener service. |
| MediaLibraryState::getOpenerParameters |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns all opener-specific parameter values. |
| MediaLibraryState::getSelectedTypeId |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the selected media type. |
| MediaLibraryState::hasSlotsAvailable |
function |
core/modules/media_library/src/MediaLibraryState.php |
Determines if additional media items can be selected. |
| MediaLibraryState::isValidHash |
function |
core/modules/media_library/src/MediaLibraryState.php |
Validate a hash for the state object. |
| MediaLibraryState::validateRequiredParameters |
function |
core/modules/media_library/src/MediaLibraryState.php |
Validates the required parameters for a new MediaLibraryState object. |
| MediaLibraryState::__construct |
function |
core/modules/media_library/src/MediaLibraryState.php |
|
| MediaLibraryStateTest |
class |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state value object. |
| MediaLibraryStateTest.php |
file |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
|
| MediaLibraryStateTest::$modules |
property |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Modules to install. |
| MediaLibraryStateTest::providerCreate |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Data provider for testCreate(). |
| MediaLibraryStateTest::providerFromRequest |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Data provider for testFromRequest(). |
| MediaLibraryStateTest::setUp |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
|
| MediaLibraryStateTest::testCreate |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state creation. |
| MediaLibraryStateTest::testFromRequest |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the hash validation when the state is created from a request. |
| MediaLibraryStateTest::testFromRequestQueryLess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests from request query less. |
| MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests that hash is unaffected by allowed media type order. |
| MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests that hash is unaffected by opener parameter order. |
| MediaLibraryStateTest::testMethods |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state methods. |
| MediaLibraryStateTest::testOpenerParameters |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests opener parameters. |
| MediaLibraryTest |
class |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
Tests Drupal\ckeditor5\Plugin\CKEditor5Plugin\MediaLibrary. |
| MediaLibraryTest.php |
file |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
|
| MediaLibraryTest::$defaultTheme |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
The theme to install as the default for testing. |
| MediaLibraryTest::$media |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
The media item to embed. |
| MediaLibraryTest::$modules |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
Modules to install. |
| MediaLibraryTest::$user |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
The user to use during testing. |
| MediaLibraryTest::setUp |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
|
| MediaLibraryTest::testAllowedMediaTypes |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
Tests the allowed media types setting on the MediaEmbed filter. |
| MediaLibraryTest::testAlt |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
Ensures that alt text can be changed on Media Library inserted Media. |
| MediaLibraryTest::testButton |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php |
Tests using drupalMedia button to embed media into CKEditor 5. |
| MediaLibraryTestBase |
class |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Base class for functional tests of Media Library functionality. |
| MediaLibraryTestBase.php |
file |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
|
| MediaLibraryTestBase::$defaultTheme |
property |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
The theme to install as the default for testing. |
| MediaLibraryTestBase::$modules |
property |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Modules to install. |
| MediaLibraryTestBase::addMediaFileToField |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Waits for a file field to exist before uploading. |
| MediaLibraryTestBase::assertAnnounceContains |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Checks for inclusion of text in #drupal-live-announce. |
| MediaLibraryTestBase::assertElementExistsAfterWait |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Waits for the specified selector and returns it if not empty. |
| MediaLibraryTestBase::assertMediaAdded |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts a media item was added, but not yet saved. |