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
MediaLibraryWidget::trustedCallbacks function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Lists the trusted callbacks provided by the implementing class.
MediaLibraryWidget::updateWidget function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php AJAX callback to update the widget when the selection changes.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaLibraryWidget::__construct function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Constructs a MediaLibraryWidget widget.
MediaLibraryWidgetTest class core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Tests the media library widget.
MediaLibraryWidgetTest.php file core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php
MediaLibraryWidgetTest::$adminUser property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php An admin user.
MediaLibraryWidgetTest::$baseField property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php The base field definition.
MediaLibraryWidgetTest::$modules property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Modules to install.
MediaLibraryWidgetTest::assertMediaLibraryStateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Assert if the given user has access to the given state.
MediaLibraryWidgetTest::buildWidgetForm function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Build the media library widget form.
MediaLibraryWidgetTest::setUp function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php
MediaLibraryWidgetTest::testRevisionableWidgetAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Test the media library widget access with a revisionable entity type.
MediaLibraryWidgetTest::testWidgetAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Test the media library widget access.
MediaLinkabilityTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media
@group ckeditor5
@internal
MediaLinkabilityTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php
MediaLinkabilityTest::providerLinkability function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php
MediaLinkabilityTest::testLinkability function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php Tests linkability of the media CKEditor widget.
MediaLinkabilityTest::testLinkedMediaArbitraryHtml function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php Ensures arbitrary attributes can be added on links wrapping media via GHS.
MediaLinkabilityTest::testLinkManualDecorator function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php Ensure that manual link decorators work with linkable media.
MediaLinkRelationsTest class core/modules/media/tests/src/Kernel/MediaLinkRelationsTest.php Tests link relationships for media items.
MediaLinkRelationsTest.php file core/modules/media/tests/src/Kernel/MediaLinkRelationsTest.php
MediaLinkRelationsTest::testExistLinkRelationships function core/modules/media/tests/src/Kernel/MediaLinkRelationsTest.php Tests that all link relationships for Media exist.
MediaListBuilder class core/modules/media/src/MediaListBuilder.php Provides a listing of media items.
MediaListBuilder.php file core/modules/media/src/MediaListBuilder.php
MediaListBuilder::$dateFormatter property core/modules/media/src/MediaListBuilder.php The date formatter service.
MediaListBuilder::$languageManager property core/modules/media/src/MediaListBuilder.php The language manager service.
MediaListBuilder::$thumbnailStyleExists property core/modules/media/src/MediaListBuilder.php Indicates whether the 'thumbnail' image style exists.
MediaListBuilder::buildHeader function core/modules/media/src/MediaListBuilder.php Builds the header row for the entity listing.
MediaListBuilder::buildRow function core/modules/media/src/MediaListBuilder.php Builds a row for an entity in the entity listing.
MediaListBuilder::createInstance function core/modules/media/src/MediaListBuilder.php Instantiates a new instance of this entity handler.
MediaListBuilder::getEntityIds function core/modules/media/src/MediaListBuilder.php Loads entity IDs using a pager sorted by the entity id.
MediaListBuilder::__construct function core/modules/media/src/MediaListBuilder.php Constructs a new MediaListBuilder object.
MediaMappingsConstraint class core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php Validates media mappings.
MediaMappingsConstraint.php file core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php
MediaMappingsConstraint::$invalidMappingMessage property core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php The error message if source is used in media mapping.
MediaMappingsConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php Validates media mappings.
MediaMappingsConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidatorTest class core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraintValidator
MediaMappingsConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php Modules to install.
MediaMappingsConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::testMediaMappingSource function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @covers ::validate
MediaOverviewPageTest class core/modules/media/tests/src/Functional/MediaOverviewPageTest.php Tests the Media overview page.
MediaOverviewPageTest.php file core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
MediaOverviewPageTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaOverviewPageTest.php The theme to install as the default for testing.
MediaOverviewPageTest::$modules property core/modules/media/tests/src/Functional/MediaOverviewPageTest.php Modules to install.
MediaOverviewPageTest::setUp function core/modules/media/tests/src/Functional/MediaOverviewPageTest.php

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