MediaTest::testConversion |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests that `<drupal-media>` is converted into a block element. |
MediaTest::testDrupalMedia |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests the drupal-media tag. |
MediaTest::testDrupalMediaStyleInDropdown |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Ensures that Drupal Media Styles can be displayed in a dropdown. |
MediaTest::testDrupalMediaStyleWithClass |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests Drupal Media Style with a CSS class. |
MediaTest::testEditableCaption |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests caption editing in the CKEditor widget. |
MediaTest::testEntity |
function |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests various aspects of a media item. |
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(). |
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. |
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 |
|
MediaThumbnailFormatter::$renderer |
property |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
The renderer service. |
MediaThumbnailFormatter::checkAccess |
function |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
|
MediaThumbnailFormatter::create |
function |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
|
MediaThumbnailFormatter::getMediaThumbnailUrl |
function |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
Get the URL for the media thumbnail. |
MediaThumbnailFormatter::isApplicable |
function |
core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php |
|