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
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.
MediaEntityMetadataApiTest.php file core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::$adminUser property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The admin user.
MediaEntityMetadataApiTest::$defaultTheme property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The theme to install as the default for testing.
MediaEntityMetadataApiTest::$editor property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The editor instance to use for testing.
MediaEntityMetadataApiTest::$mediaFile property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The sample file media entity to use for testing.
MediaEntityMetadataApiTest::$mediaImage property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The sample image media entity to use for testing.
MediaEntityMetadataApiTest::$modules property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Modules to install.
MediaEntityMetadataApiTest::$uuidService property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::setUp function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::testApi function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API.
MediaEntityMetadataApiTest::testApiTranslation function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API with translations.
MediaFilterController class core/modules/media/src/Controller/MediaFilterController.php Controller which renders a preview of the provided text.
MediaFilterController.php file core/modules/media/src/Controller/MediaFilterController.php
MediaFilterController::$entityRepository property core/modules/media/src/Controller/MediaFilterController.php The entity repository.
MediaFilterController::$mediaStorage property core/modules/media/src/Controller/MediaFilterController.php The media storage.
MediaFilterController::$renderer property core/modules/media/src/Controller/MediaFilterController.php The renderer service.
MediaFilterController::checkCsrf function core/modules/media/src/Controller/MediaFilterController.php Throws an AccessDeniedHttpException if the request fails CSRF validation.
MediaFilterController::create function core/modules/media/src/Controller/MediaFilterController.php Instantiates a new instance of this class.

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