Search for media

  1. Search 7.x for media
  2. Search 8.9.x for media
  3. Search 10.3.x for media
  4. Search 11.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
MediaLibraryInceptionWidget.php file core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibraryInceptionWidget::formElement function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php Returns the form for a single field widget.
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
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

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