Search for library

  1. Search 7.x for library
  2. Search 9.5.x for library
  3. Search 8.9.x for library
  4. Search 10.3.x for library
  5. Other projects
Title Object type File name Summary
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 @covers ::fromRequest
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 @covers ::getOpenerParameters
MediaLibraryTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\MediaLibrary
@group ckeditor5
@internal
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.

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