Search for media

  1. Search 7.x for media
  2. Search 9.5.x for media
  3. Search 8.9.x for media
  4. Search 10.3.x for media
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Media class core/modules/media/src/Entity/Media.php Defines the media entity class.
Media class core/modules/media/src/Plugin/views/wizard/Media.php Provides Views creation wizard for Media.
Media class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php CKEditor 5 Media plugin.

All search results

Title Object type File name Summary
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.
MediaLibraryTestBase::waitForNoText function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text does not appear on page after a wait.
MediaLibraryTestBase::waitForText function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text appears on page after a wait.
MediaLibraryTestHooks class core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Hook implementations for media_library_test.
MediaLibraryTestHooks.php file core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php
MediaLibraryTestHooks::entityFieldAccess function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_entity_field_access().
MediaLibraryTestHooks::entityTypeAlter function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_entity_type_alter().
MediaLibraryTestHooks::fieldWidgetInfoAlter function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_field_widget_info_alter().
MediaLibraryTestHooks::mediaCreateAccess function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_ENTITY_TYPE_create_access().
MediaLibraryUiBuilder class core/modules/media_library/src/MediaLibraryUiBuilder.php Service which builds the media library.
MediaLibraryUiBuilder.php file core/modules/media_library/src/MediaLibraryUiBuilder.php
MediaLibraryUiBuilder::$entityTypeManager property core/modules/media_library/src/MediaLibraryUiBuilder.php The entity type manager.
MediaLibraryUiBuilder::$formBuilder property core/modules/media_library/src/MediaLibraryUiBuilder.php The form builder.
MediaLibraryUiBuilder::$openerResolver property core/modules/media_library/src/MediaLibraryUiBuilder.php The media library opener resolver.
MediaLibraryUiBuilder::$request property core/modules/media_library/src/MediaLibraryUiBuilder.php The currently active request object.
MediaLibraryUiBuilder::$viewsExecutableFactory property core/modules/media_library/src/MediaLibraryUiBuilder.php The views executable factory.
MediaLibraryUiBuilder::buildLibraryContent function core/modules/media_library/src/MediaLibraryUiBuilder.php Build the media library content area.
MediaLibraryUiBuilder::buildMediaLibraryView function core/modules/media_library/src/MediaLibraryUiBuilder.php Get the media library view.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.