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 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
MediaEmbedFilterConfigurationUiAddTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiAddTest.php @covers ::media_form_filter_format_add_form_alter
@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 ::media_form_filter_format_edit_form_alter
@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 install.
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
@group #slow
MediaEmbedFilterTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaEmbedFilterTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Modules to install.
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/FunctionalJavascript/MediaEmbedFilterTestBase.php Base class for media embed filter configuration tests.
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/FunctionalJavascript/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php The theme to install as the default for testing.
MediaEmbedFilterTestBase::$embeddedEntity property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The sample Media entity to embed.
MediaEmbedFilterTestBase::$failOnJavascriptConsoleErrors property core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php @todo Remove this class property in https://www.drupal.org/node/3091878/.
MediaEmbedFilterTestBase::$image property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The image file to use in tests.
MediaEmbedFilterTestBase::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Modules to install.
MediaEmbedFilterTestBase::applyFilter function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Applies the `media_embed` filter to text, pipes to raw content.
MediaEmbedFilterTestBase::assertHasAttributes function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Assert that the SimpleXMLElement object has the given attributes.
MediaEmbedFilterTestBase::createEmbedCode function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Gets an embed code with given attributes.
MediaEmbedFilterTestBase::EMBEDDED_ENTITY_UUID constant core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The UUID to use for the embedded entity.
MediaEmbedFilterTestBase::processText function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Processes text through the provided filters.
MediaEmbedFilterTestBase::providerTestValidations function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php Data provider for testing validation when adding and editing media embeds.
MediaEmbedFilterTestBase::setUp function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::setUpBeforeClass function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::showHiddenFields function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php Show visually hidden fields.
MediaEmbedFilterTranslationTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Tests that media embeds are translated based on text (host entity) language.
MediaEmbedFilterTranslationTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php
MediaEmbedFilterTranslationTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Modules to install.
MediaEmbedFilterTranslationTest::providerTranslationSituations function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Data provider for testTranslationSelection().
MediaEmbedFilterTranslationTest::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php
MediaEmbedFilterTranslationTest::testTranslationSelection function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Tests that the expected embedded media entity translation is selected.
MediaEntityMetadataApiTest class core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API.

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