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
MediaCreationTest::testMediaTypeCreation function core/modules/media/tests/src/Kernel/MediaCreationTest.php Tests creating a media type programmatically.
MediaDisplayTest class core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php Basic display tests for Media.
MediaDisplayTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
MediaDisplayTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
MediaDisplayTest::setUp function core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
MediaDisplayTest::testMediaDisplay function core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php Tests basic media display.
MediaEmbed class core/modules/media/src/Plugin/Filter/MediaEmbed.php Provides a filter to embed media items using a custom tag.
MediaEmbed.php file core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::$entityDisplayRepository property core/modules/media/src/Plugin/Filter/MediaEmbed.php The entity display repository.
MediaEmbed::$entityRepository property core/modules/media/src/Plugin/Filter/MediaEmbed.php The entity repository.
MediaEmbed::$entityTypeBundleInfo property core/modules/media/src/Plugin/Filter/MediaEmbed.php The entity type bundle info service.
MediaEmbed::$entityTypeManager property core/modules/media/src/Plugin/Filter/MediaEmbed.php The entity type manager.
MediaEmbed::$loggerFactory property core/modules/media/src/Plugin/Filter/MediaEmbed.php The logger factory.
MediaEmbed::$recursiveRenderDepth property core/modules/media/src/Plugin/Filter/MediaEmbed.php An array of counters for the recursive rendering protection.
MediaEmbed::$renderer property core/modules/media/src/Plugin/Filter/MediaEmbed.php The renderer.
MediaEmbed::applyPerEmbedMediaOverrides function core/modules/media/src/Plugin/Filter/MediaEmbed.php Applies attribute-based per-media embed overrides of media information.
MediaEmbed::calculateDependencies function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::create function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::disableContextualLinks function core/modules/media/src/Plugin/Filter/MediaEmbed.php Disables Contextual Links for the embedded media by removing its property.
MediaEmbed::getMediaImageSourceField function core/modules/media/src/Plugin/Filter/MediaEmbed.php Get image field from source config.
MediaEmbed::process function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::renderIntoDomNode function core/modules/media/src/Plugin/Filter/MediaEmbed.php Renders the given render array into the given DOM node.
MediaEmbed::renderMedia function core/modules/media/src/Plugin/Filter/MediaEmbed.php Builds the render array for the given media entity in the given langcode.
MediaEmbed::renderMissingMediaIndicator function core/modules/media/src/Plugin/Filter/MediaEmbed.php Builds the render array for the indicator when media cannot be loaded.
MediaEmbed::replaceNodeContent function core/modules/media/src/Plugin/Filter/MediaEmbed.php Replaces the contents of a DOMNode.
MediaEmbed::settingsForm function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::tips function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::trustedCallbacks function core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaEmbed::__construct function core/modules/media/src/Plugin/Filter/MediaEmbed.php Constructs a MediaEmbed object.
MediaEmbedFilterConfigurationUiAddTest class core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiAddTest.php @covers ::media_filter_format_edit_form_validate
@group media
@group #slow
MediaEmbedFilterConfigurationUiAddTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiAddTest.php
MediaEmbedFilterConfigurationUiAddTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiAddTest.php @covers \Drupal\media\Hook\MediaHooks::formFilterFormatAddFormAlter
@dataProvider providerTestValidations
MediaEmbedFilterConfigurationUiEditTest class core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiEditTest.php @covers ::media_filter_format_edit_form_validate
@group media
@group #slow
MediaEmbedFilterConfigurationUiEditTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiEditTest.php
MediaEmbedFilterConfigurationUiEditTest::testValidationWhenEditing function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiEditTest.php @covers \Drupal\media\Hook\MediaHooks::formFilterFormatEditFormAlter
@dataProvider providerTestValidations
MediaEmbedFilterDisabledIntegrationsTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php Tests that media embed disables certain integrations.
MediaEmbedFilterDisabledIntegrationsTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php
MediaEmbedFilterDisabledIntegrationsTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php
MediaEmbedFilterDisabledIntegrationsTest::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php
MediaEmbedFilterDisabledIntegrationsTest::testDisabledIntegrations function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php @covers ::renderMedia
@covers ::disableContextualLinks
MediaEmbedFilterTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @coversDefaultClass \Drupal\media\Plugin\Filter\MediaEmbed
@group media
MediaEmbedFilterTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaEmbedFilterTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaEmbedFilterTest::providerAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testAccessUnpublished().
MediaEmbedFilterTest::providerFilterIntegration function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testFilterIntegration().
MediaEmbedFilterTest::providerMissingEntityIndicator function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testMissingEntityIndicator().
MediaEmbedFilterTest::providerOverridesAltAndTitle function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testOverridesAltAndTitle().
MediaEmbedFilterTest::providerTestBasics function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testBasics().
MediaEmbedFilterTest::testAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests that entity access is respected by embedding an unpublished entity.

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