Search for library

  1. Search 7.x for library
  2. Search 8.9.x for library
  3. Search 10.3.x for library
  4. Search 11.x for library
  5. Other projects
Title Object type File name Summary
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 enable.
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 class core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php @coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalMediaLibrary
@group ckeditor
@group legacy
MediaLibraryTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php
MediaLibraryTest.php file core/modules/ckeditor/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::$defaultTheme property core/modules/ckeditor/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::$media property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php The media item to embed.
MediaLibraryTest::$modules property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php Modules to enable.
MediaLibraryTest::$modules property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php Modules to enable.
MediaLibraryTest::$user property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php The user to use during testing.
MediaLibraryTest::$user property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php The user to use during testing.
MediaLibraryTest::setUp function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php
MediaLibraryTest::setUp function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php
MediaLibraryTest::testAllowedMediaTypes function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php Tests the allowed media types setting on the MediaEmbed filter.
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.
MediaLibraryTest::testButton function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php Tests using DrupalMediaLibrary button to embed media into CKEditor.
MediaLibraryTest::testConfigurationValidation function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php Tests validation that DrupalMediaLibrary requires media_embed filter.
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.

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