MediaEmbedFilterTestBase::$modules |
property |
core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php |
Modules to enable. |
MediaEmbedFilterTestBase::applyFilter |
function |
core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php |
Applies the `@Filter=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::setUp |
function |
core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php |
|
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 enable. |
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. |
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. |
MediaFilterController::formatUsesMediaEmbedFilter |
function |
core/modules/media/src/Controller/MediaFilterController.php |
Checks access based on media_embed filter status on the text format. |
MediaFilterController::preview |
function |
core/modules/media/src/Controller/MediaFilterController.php |
Returns a HTML response containing a preview of the text after filtering. |
MediaFilterController::__construct |
function |
core/modules/media/src/Controller/MediaFilterController.php |
Constructs an MediaFilterController instance. |
MediaForm |
class |
core/modules/media/src/MediaForm.php |
Form controller for the media edit forms. |
MediaForm.php |
file |
core/modules/media/src/MediaForm.php |
|
MediaForm::form |
function |
core/modules/media/src/MediaForm.php |
Gets the actual form array to be built. |
MediaForm::save |
function |
core/modules/media/src/MediaForm.php |
Form submission handler for the 'save' action. |
MediaFunctionalTestBase |
class |
core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php |
Base class for Media functional tests. |
MediaFunctionalTestBase.php |
file |
core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php |
|
MediaFunctionalTestBase::$modules |
property |
core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php |
Modules to enable. |
MediaFunctionalTestCreateMediaTypeTrait |
trait |
core/modules/media/tests/src/Functional/MediaFunctionalTestCreateMediaTypeTrait.php |
Trait with helpers for Media functional tests. |
MediaFunctionalTestCreateMediaTypeTrait.php |
file |
core/modules/media/tests/src/Functional/MediaFunctionalTestCreateMediaTypeTrait.php |
|
MediaFunctionalTestCreateMediaTypeTrait::createMediaType |
function |
core/modules/media/tests/src/Functional/MediaFunctionalTestCreateMediaTypeTrait.php |
Creates a media type. |
MediaFunctionalTestTrait |
trait |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
Trait with helpers for Media functional tests. |
MediaFunctionalTestTrait.php |
file |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
|
MediaFunctionalTestTrait::$adminUser |
property |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
An admin test user account. |
MediaFunctionalTestTrait::$adminUserPermissions |
property |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
Permissions for the admin user that will be logged-in for test. |
MediaFunctionalTestTrait::$nonAdminUser |
property |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
A non-admin test user account. |
MediaFunctionalTestTrait::$storage |
property |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
The storage service. |
MediaFunctionalTestTrait::setUp |
function |
core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php |
|
MediaHalJsonAnonTest |
class |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
@group hal |
MediaHalJsonAnonTest.php |
file |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
|
MediaHalJsonAnonTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
The theme to install as the default for testing. |
MediaHalJsonAnonTest::$format |
property |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
The format to use in this test. |
MediaHalJsonAnonTest::$mimeType |
property |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
The MIME type that corresponds to $format. |
MediaHalJsonAnonTest::$modules |
property |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
Modules to install. |
MediaHalJsonAnonTest::getExpectedCacheTags |
function |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
The expected cache tags for the GET/HEAD response of the test entity. |
MediaHalJsonAnonTest::getExpectedNormalizedEntity |
function |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
Returns the expected normalization of the entity. |
MediaHalJsonAnonTest::getExpectedNormalizedFileEntity |
function |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
Gets the expected file entity. |
MediaHalJsonAnonTest::getNormalizedPostEntity |
function |
core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php |
Returns the normalized POST entity. |