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
MediaLibrarySelectForm::clickSortable function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Determines if this field is click sortable.
MediaLibrarySelectForm::form_element_name function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Return the name of a form field.
MediaLibrarySelectForm::form_element_row_id function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Return a media entity ID from a views result row.
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
MediaLibrarySelectFormTest class core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php @coversDefaultClass \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm
@group media_library
MediaLibrarySelectFormTest.php file core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php
MediaLibrarySelectFormTest::tearDown function core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php
MediaLibrarySelectFormTest::testViewsForm function core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php @covers ::viewsForm
MediaLibraryServiceProvider class core/modules/media_library/src/MediaLibraryServiceProvider.php Service provider for media library services.
MediaLibraryServiceProvider.php file core/modules/media_library/src/MediaLibraryServiceProvider.php
MediaLibraryServiceProvider::register function core/modules/media_library/src/MediaLibraryServiceProvider.php Registers services to the container.
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::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 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.

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