Search for media

  1. Search 7.x for media
  2. Search 9.5.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.

All search results

Title Object type File name Summary
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 Calculates dependencies for the configured plugin.
MediaEmbed::create function core/modules/media/src/Plugin/Filter/MediaEmbed.php Creates an instance of the plugin.
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 Performs the filter processing.
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 Generates a filter's settings form.
MediaEmbed::tips function core/modules/media/src/Plugin/Filter/MediaEmbed.php Generates a filter's tip.
MediaEmbed::trustedCallbacks function core/modules/media/src/Plugin/Filter/MediaEmbed.php Lists the trusted callbacks provided by the implementing class.
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.
MediaEmbedFilterConfigurationUiTest class core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_filter_format_edit_form_validate
@group media
MediaEmbedFilterConfigurationUiTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php The theme to install as the default for testing.
MediaEmbedFilterConfigurationUiTest::providerTestValidations function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php Data provider for testValidationWhenAdding() and
testValidationWhenEditing().
MediaEmbedFilterConfigurationUiTest::setUp function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::setUpBeforeClass function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::showHiddenFields function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php Show visually hidden fields.
MediaEmbedFilterConfigurationUiTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_add_form_alter
@covers ::media_filter_format_edit_form_validate
@dataProvider providerTestValidations
MediaEmbedFilterConfigurationUiTest::testValidationWhenEditing function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_edit_form_alter
@covers ::media_filter_format_edit_form_validate
@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 Modules to enable.
MediaEmbedFilterDisabledIntegrationsTest::providerDisabledIntegrations function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php Data provider for testDisabledIntegrations().
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
@dataProvider providerDisabledIntegrations
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 Modules to enable.
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.
MediaEmbedFilterTest::testBasics function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Ensures media entities are rendered correctly.
MediaEmbedFilterTest::testFilterIntegration function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @covers \Drupal\filter\Plugin\Filter\FilterAlign
@covers \Drupal\filter\Plugin\Filter\FilterCaption
@dataProvider providerFilterIntegration
MediaEmbedFilterTest::testMissingEntityIndicator function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests the indicator for missing entities.
MediaEmbedFilterTest::testOnlyDrupalMediaTagProcessed function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests that only <drupal-media> tags are processed.
MediaEmbedFilterTest::testOverridesAltAndTitle function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @covers ::applyPerEmbedMediaOverrides
@dataProvider providerOverridesAltAndTitle
MediaEmbedFilterTest::testRecursionProtection function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests recursive rendering protection.
MediaEmbedFilterTestBase class core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Base class for Media Embed filter tests.
MediaEmbedFilterTestBase.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::$embeddedEntity property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The sample Media entity to embed.
MediaEmbedFilterTestBase::$image property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The image file to use in tests.

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