MediaTest::$media |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
The sample Media entity to embed. |
MediaTest::$media |
property |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
The sample Media entity to embed. |
MediaTest::$mediaFile |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
The second sample Media entity to embed used in one of the tests. |
MediaTest::$modules |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Modules to enable. |
MediaTest::$modules |
property |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Modules to enable. |
MediaTest::$modules |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Modules to enable. |
MediaTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
The fields that are protected against modification during PATCH requests. |
MediaTest::$resourceTypeIsVersionable |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Whether the tested JSON:API resource is versionable. |
MediaTest::$resourceTypeName |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
The name of the tested JSON:API resource type. |
MediaTest::assertContextMenuItemExists |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Asserts that a context menu item exists by aria-label attribute. |
MediaTest::assertContextMenuItemNotExists |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Asserts that a context menu item does not exist by aria-label attribute. |
MediaTest::assertSourceAttributeSame |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Verifies value of an attribute on the downcast <drupal-media> element. |
MediaTest::assertSourceAttributeSame |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Verifies value of an attribute on the downcast <drupal-media> element. |
MediaTest::assignNameToCkeditorPanelIframe |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Assigns a name to the CKEditor context menu iframe. |
MediaTest::clickPathLinkByTitleAttribute |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Clicks a link in the editor's path links with the given title text. |
MediaTest::closeContextMenu |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Closes the open context menu. |
MediaTest::closeDialog |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Closes the metadata dialog. |
MediaTest::createEntity |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Creates the entity to be tested. |
MediaTest::doTestRelationshipMutation |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
@todo Remove this in https://www.drupal.org/node/2824851. |
MediaTest::fillFieldInMetadataDialogAndSubmit |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Fills in a field in the metadata dialog for an embedded media item. |
MediaTest::getDrupalMediaFromSource |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Parses the <drupal-media> element from CKEditor's "source" view. |
MediaTest::getEditorialPermissions |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Gets an array of permissions required to view and update any tested entity. |
MediaTest::getExpectedDocument |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Returns the expected JSON:API document for the entity. |
MediaTest::getExpectedGetRelationshipDocumentData |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Gets the expected document data for the given relationship. |
MediaTest::getExpectedUnauthorizedAccessCacheability |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Returns the expected cacheability for an unauthorized response. |
MediaTest::getExpectedUnauthorizedAccessMessage |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Return the expected error message. |
MediaTest::getLastPreviewRequestTransferSize |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Gets the transfer size of the last preview request. |
MediaTest::getLastPreviewRequestTransferSize |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Gets the transfer size of the last preview request. |
MediaTest::getPostDocument |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Returns the JSON:API POST document. |
MediaTest::leaveSourceMode |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Leaves source mode and returns to the CKEditor iframe. |
MediaTest::linkabilityProvider |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Data Provider for ::testLinkability. |
MediaTest::openContextMenu |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Opens the context menu for the currently selected widget. |
MediaTest::openMetadataDialog |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Clicks the `Edit media` button and waits for the metadata dialog. |
MediaTest::openMetadataDialogWithKeyPress |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Focuses on `Edit media` button and presses the given key. |
MediaTest::previewAccessProvider |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Data provider for ::testEmbedPreviewAccess. |
MediaTest::previewAccessProvider |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Data provider for ::testEmbedPreviewAccess. |
MediaTest::providerLinkability |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
|
MediaTest::providerTestViewMode |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
For testing view modes in different scenarios. |
MediaTest::RETURN_KEY |
constant |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
The character code for the return key. |
MediaTest::setCaption |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Sets the text of the editable caption to the given text. |
MediaTest::setUp |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
|
MediaTest::setUp |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
|
MediaTest::setUpAuthorization |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Sets up the necessary authorization. |
MediaTest::setUpRevisionAuthorization |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Sets up the necessary authorization for handling revisions. |
MediaTest::SPACE_BAR |
constant |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
The character code for the space bar. |
MediaTest::submitDialog |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Closes and submits the metadata dialog. |
MediaTest::testAlignment |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests alignment integration. |
MediaTest::testAlignment |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Tests alignment integration. |
MediaTest::testAlt |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php |
Tests the CKEditor 5 media plugin can override image media's alt attribute. |
MediaTest::testAlt |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Tests the EditorMediaDialog can set the alt attribute. |