| 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. |
| MediaLibraryTestBase::assertMediaLibraryGrid |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts that the grid display of the widget view is visible. |
| MediaLibraryTestBase::assertMediaLibraryTable |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts that the table display of the widget view is visible. |
| MediaLibraryTestBase::assertNoMediaAdded |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts that media was not added, i.e. due to a validation error. |
| MediaLibraryTestBase::assertSelectedMediaCount |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts the current text of the selected item counter. |
| MediaLibraryTestBase::createMediaItems |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Create media items. |
| MediaLibraryTestBase::deselectMediaItem |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
De-selects an item in the media library modal. |
| MediaLibraryTestBase::getCheckboxes |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Gets all available media item checkboxes. |
| MediaLibraryTestBase::getSelectionArea |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Gets the "Additional selected media" area after adding new media. |
| MediaLibraryTestBase::getTypesMenu |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Gets the menu of available media types. |
| MediaLibraryTestBase::openMediaLibraryForField |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Clicks a button that opens a media widget and confirms it is open. |
| MediaLibraryTestBase::pressInsertSelected |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Presses the modal's "Insert selected" button. |
| MediaLibraryTestBase::pressSaveButton |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Clicks "Save" button and waits for AJAX completion. |
| MediaLibraryTestBase::saveAnd |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Clicks "Save and select||insert" button and waits for AJAX completion. |
| MediaLibraryTestBase::selectMediaItem |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Selects an item in the media library modal. |
| MediaLibraryTestBase::switchToMediaLibraryGrid |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Switches to the grid display of the widget view. |
| MediaLibraryTestBase::switchToMediaLibraryTable |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Switches to the table display of the widget view. |
| MediaLibraryTestBase::switchToMediaType |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Clicks a media type tab and waits for it to appear. |
| MediaLibraryTestBase::waitForElementsCount |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Checks for a specified number of specific elements on page after wait. |
| MediaLibraryTestBase::waitForElementTextContains |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Asserts that text appears in an element after a wait. |
| MediaLibraryTestBase::waitForFieldExists |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Checks for the existence of a field on page after wait. |