| MediaTest::testMediaArbitraryHtml |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests that arbitrary attributes are allowed via GHS. |
| MediaTest::testMediaSplitList |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests adding media to a list does not split the list. |
| MediaTest::testNameBaseField |
function |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests the Media "name" base field behavior. |
| MediaTest::testOnlyDrupalMediaTagProcessed |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests that only <drupal-media> tags are processed. |
| MediaTest::testPermissions |
function |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests permissions based on a media type have the correct permissions. |
| MediaTest::testTranslationAlt |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests the CKEditor 5 media plugin loads the translated alt attribute. |
| MediaTest::testViewMode |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests view mode integration. |
| MediaTestBase |
class |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
Base class for CKEditor 5 Media integration tests. |
| MediaTestBase.php |
file |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
|
| MediaTestBase::$adminUser |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
The user to use during testing. |
| MediaTestBase::$defaultTheme |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
The theme to install as the default for testing. |
| MediaTestBase::$host |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
A host entity with a body field to embed media in. |
| MediaTestBase::$media |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
The sample Media entity to embed. |
| MediaTestBase::$mediaFile |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
The second sample Media entity to embed used in one of the tests. |
| MediaTestBase::$modules |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
Modules to install. |
| MediaTestBase::assertSourceAttributeSame |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
Verifies value of an attribute on the downcast <drupal-media> element. |
| MediaTestBase::getLastPreviewRequestTransferSize |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
Gets the transfer size of the last preview request. |
| MediaTestBase::setUp |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php |
|
| MediaTestConstraint |
class |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php |
A media test constraint. |
| MediaTestConstraint.php |
file |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php |
|
| MediaTestConstraint::$message |
property |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php |
The default violation message. |
| MediaTestConstraintValidator |
class |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php |
Validates the MediaTestConstraint. |
| MediaTestConstraintValidator.php |
file |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php |
|
| MediaTestConstraintValidator::validate |
function |
core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php |
|
| MediaTestEmbedHooks |
class |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedHooks.php |
Hook implementations for media_test_embed. |
| MediaTestEmbedHooks.php |
file |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedHooks.php |
|
| MediaTestEmbedHooks::entityAccess |
function |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedHooks.php |
Implements hook_entity_access(). |
| MediaTestEmbedHooks::entityViewAlter |
function |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedHooks.php |
Implements hook_entity_view_alter(). |
| MediaTestEmbedThemeHooks |
class |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedThemeHooks.php |
Theme hook implementations for media_test_embed. |
| MediaTestEmbedThemeHooks.php |
file |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedThemeHooks.php |
|
| MediaTestEmbedThemeHooks::preprocessMediaEmbedError |
function |
core/modules/media/tests/modules/media_test_embed/src/Hook/MediaTestEmbedThemeHooks.php |
Implements hook_preprocess_HOOK(). |
| MediaTestOembedHooks |
class |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedHooks.php |
Hook implementations for media_test_oembed. |
| MediaTestOembedHooks.php |
file |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedHooks.php |
|
| MediaTestOembedHooks::oembedResourceUrlAlter |
function |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedHooks.php |
Implements hook_oembed_resource_url_alter(). |
| MediaTestOembedServiceProvider |
class |
core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php |
Replaces oEmbed-related media services with testing versions. |
| MediaTestOembedServiceProvider.php |
file |
core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php |
|
| MediaTestOembedServiceProvider::alter |
function |
core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php |
Modifies existing service definitions. |
| MediaTestOembedThemeHooks |
class |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedThemeHooks.php |
Theme hook implementations for media_test_oembed. |
| MediaTestOembedThemeHooks.php |
file |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedThemeHooks.php |
|
| MediaTestOembedThemeHooks::preprocessMediaOembedIframe |
function |
core/modules/media/tests/modules/media_test_oembed/src/Hook/MediaTestOembedThemeHooks.php |
Implements hook_preprocess_media_oembed_iframe(). |
| MediaThemeHooks |
class |
core/modules/media/src/Hook/MediaThemeHooks.php |
Hook implementations for media. |
| MediaThemeHooks.php |
file |
core/modules/media/src/Hook/MediaThemeHooks.php |
|
| MediaThemeHooks::preprocessMedia |
function |
core/modules/media/src/Hook/MediaThemeHooks.php |
Prepares variables for media templates. |
| MediaThemeHooks::preprocessMediaReferenceHelp |
function |
core/modules/media/src/Hook/MediaThemeHooks.php |
Implements hook_preprocess_HOOK() for media reference widgets. |
| MediaThemeHooks::theme |
function |
core/modules/media/src/Hook/MediaThemeHooks.php |
Implements hook_theme(). |
| MediaThemeSuggestionsHooks |
class |
core/modules/media/src/Hook/MediaThemeSuggestionsHooks.php |
Theme suggestions for media. |
| MediaThemeSuggestionsHooks.php |
file |
core/modules/media/src/Hook/MediaThemeSuggestionsHooks.php |
|
| MediaThemeSuggestionsHooks::themeSuggestionsMedia |
function |
core/modules/media/src/Hook/MediaThemeSuggestionsHooks.php |
Implements hook_theme_suggestions_HOOK(). |
| MediaThumbnailFormatter |
class |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
Plugin implementation of the 'media_thumbnail' formatter. |
| MediaThumbnailFormatter.php |
file |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
|