Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
MediaLibraryOpenerInterface interface core/modules/media_library/src/MediaLibraryOpenerInterface.php Defines an interface for media library openers.
MediaLibraryOpenerInterface.php file core/modules/media_library/src/MediaLibraryOpenerInterface.php
MediaLibraryOpenerInterface::checkAccess function core/modules/media_library/src/MediaLibraryOpenerInterface.php Checks media library access.
MediaLibraryOpenerInterface::getSelectionResponse function core/modules/media_library/src/MediaLibraryOpenerInterface.php Generates a response after selecting media items in the media library.
MediaLibrarySelectForm class core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Defines a field that outputs a checkbox and form for selecting media.
MediaLibrarySelectForm.php file core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibrarySelectForm::clickSortable function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Determines if this field is click sortable.
MediaLibrarySelectForm::getValue function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Gets the value that's supposed to be rendered.
MediaLibrarySelectForm::render function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Renders the field.
MediaLibrarySelectForm::updateWidget function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Submit handler for the media library select form.
MediaLibrarySelectForm::viewsForm function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Form constructor for the media library select form.
MediaLibrarySelectForm::viewsFormValidate function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibraryState class core/modules/media_library/src/MediaLibraryState.php A value object for the media library state.
MediaLibraryState.php file core/modules/media_library/src/MediaLibraryState.php
MediaLibraryState::all function core/modules/media_library/src/MediaLibraryState.php Returns the parameters.
MediaLibraryState::create function core/modules/media_library/src/MediaLibraryState.php Creates a new MediaLibraryState object.
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[[api-linebreak]]
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[[api-linebreak]]
MediaLibraryTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\MediaLibrary[[api-linebreak]]
@group ckeditor5
@internal
MediaLibraryTest class core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php @coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalMediaLibrary[[api-linebreak]]
@group ckeditor
@group legacy
MediaLibraryTest.php file core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php
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::$defaultTheme property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php The theme to install as the default for testing.
MediaLibraryTest::$media property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php The media item to embed.

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