Search for library
- Search 7.x for library
- Search 9.5.x for library
- Search 8.9.x for library
- Search 10.3.x for library
- Search 11.x for library
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MediaLibraryTest::$user | property | core/ |
The user to use during testing. |
| MediaLibraryTest::setUp | function | core/ |
|
| MediaLibraryTest::testAllowedMediaTypes | function | core/ |
Tests the allowed media types setting on the MediaEmbed filter. |
| MediaLibraryTest::testAlt | function | core/ |
Ensures that alt text can be changed on Media Library inserted Media. |
| MediaLibraryTest::testButton | function | core/ |
Tests using drupalMedia button to embed media into CKEditor 5. |
| MediaLibraryTestBase | class | core/ |
Base class for functional tests of Media Library functionality. |
| MediaLibraryTestBase.php | file | core/ |
|
| MediaLibraryTestBase::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MediaLibraryTestBase::$modules | property | core/ |
Modules to install. |
| MediaLibraryTestBase::addMediaFileToField | function | core/ |
Waits for a file field to exist before uploading. |
| MediaLibraryTestBase::assertAnnounceContains | function | core/ |
Checks for inclusion of text in #drupal-live-announce. |
| MediaLibraryTestBase::assertElementExistsAfterWait | function | core/ |
Waits for the specified selector and returns it if not empty. |
| MediaLibraryTestBase::assertMediaAdded | function | core/ |
Asserts a media item was added, but not yet saved. |
| MediaLibraryTestBase::assertMediaLibraryGrid | function | core/ |
Asserts that the grid display of the widget view is visible. |
| MediaLibraryTestBase::assertMediaLibraryTable | function | core/ |
Asserts that the table display of the widget view is visible. |
| MediaLibraryTestBase::assertNoMediaAdded | function | core/ |
Asserts that media was not added, i.e. due to a validation error. |
| MediaLibraryTestBase::assertSelectedMediaCount | function | core/ |
Asserts the current text of the selected item counter. |
| MediaLibraryTestBase::createMediaItems | function | core/ |
Create media items. |
| MediaLibraryTestBase::deselectMediaItem | function | core/ |
De-selects an item in the media library modal. |
| MediaLibraryTestBase::getCheckboxes | function | core/ |
Gets all available media item checkboxes. |
| MediaLibraryTestBase::getSelectionArea | function | core/ |
Gets the "Additional selected media" area after adding new media. |
| MediaLibraryTestBase::getTypesMenu | function | core/ |
Gets the menu of available media types. |
| MediaLibraryTestBase::openMediaLibraryForField | function | core/ |
Clicks a button that opens a media widget and confirms it is open. |
| MediaLibraryTestBase::pressInsertSelected | function | core/ |
Presses the modal's "Insert selected" button. |
| MediaLibraryTestBase::pressSaveButton | function | core/ |
Clicks "Save" button and waits for AJAX completion. |
| MediaLibraryTestBase::saveAnd | function | core/ |
Clicks "Save and select||insert" button and waits for AJAX completion. |
| MediaLibraryTestBase::selectMediaItem | function | core/ |
Selects an item in the media library modal. |
| MediaLibraryTestBase::switchToMediaLibraryGrid | function | core/ |
Switches to the grid display of the widget view. |
| MediaLibraryTestBase::switchToMediaLibraryTable | function | core/ |
Switches to the table display of the widget view. |
| MediaLibraryTestBase::switchToMediaType | function | core/ |
Clicks a media type tab and waits for it to appear. |
| MediaLibraryTestBase::waitForElementsCount | function | core/ |
Checks for a specified number of specific elements on page after wait. |
| MediaLibraryTestBase::waitForElementTextContains | function | core/ |
Asserts that text appears in an element after a wait. |
| MediaLibraryTestBase::waitForFieldExists | function | core/ |
Checks for the existence of a field on page after wait. |
| MediaLibraryTestBase::waitForNoText | function | core/ |
Asserts that text does not appear on page after a wait. |
| MediaLibraryTestBase::waitForText | function | core/ |
Asserts that text appears on page after a wait. |
| MediaLibraryTestHooks | class | core/ |
Hook implementations for media_library_test. |
| MediaLibraryTestHooks.php | file | core/ |
|
| MediaLibraryTestHooks::entityFieldAccess | function | core/ |
Implements hook_entity_field_access(). |
| MediaLibraryTestHooks::entityTypeAlter | function | core/ |
Implements hook_entity_type_alter(). |
| MediaLibraryTestHooks::fieldWidgetInfoAlter | function | core/ |
Implements hook_field_widget_info_alter(). |
| MediaLibraryTestHooks::mediaCreateAccess | function | core/ |
Implements hook_ENTITY_TYPE_create_access(). |
| MediaLibraryThemeHooks | class | core/ |
Hook implementations for media_library. |
| MediaLibraryThemeHooks.php | file | core/ |
|
| MediaLibraryThemeHooks::preprocessMedia | function | core/ |
Implements hook_preprocess_media(). |
| MediaLibraryThemeHooks::preprocessMediaLibraryItem | function | core/ |
Prepares variables for a selected media item. |
| MediaLibraryThemeHooks::preprocessMediaLibraryWrapper | function | core/ |
Prepares variables for the media library modal dialog. |
| MediaLibraryThemeHooks::preprocessViewsViewFields | function | core/ |
Implements hook_preprocess_views_view_fields(). |
| MediaLibraryThemeHooks::preprocessViewsViewMediaLibrary | function | core/ |
Implements hook_preprocess_HOOK() for the 'media_library' view. |
| MediaLibraryThemeHooks::theme | function | core/ |
Implements hook_theme(). |
| MediaLibraryUiBuilder | class | core/ |
Service which builds the media library. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.