MediaSourceTest::testConstraints |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests the media item constraints functionality. |
MediaSourceTest::testDefaultName |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests default media name functionality. |
MediaSourceTest::testDifferentSourceFieldDisplays |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests different display options for the source field. |
MediaSourceTest::testGetSourceFieldValue |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests the getSourceFieldValue() method. |
MediaSourceTest::testHiddenSourceField |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests hidden source field in media type. |
MediaSourceTest::testMetadataMapping |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests metadata mapping functionality. |
MediaSourceTest::testSave |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests that metadata is correctly mapped irrespective of how media is saved. |
MediaSourceTest::testSourceConfigurationSubmit |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests configuration form submit handler on the base media source plugin. |
MediaSourceTest::testSourceFieldCreation |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests logic related to the automated source field creation. |
MediaSourceTest::testThumbnail |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests the thumbnail functionality. |
MediaSourceTestBase |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Base class for media source tests. |
MediaSourceTestBase.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
|
MediaSourceTestBase::createMediaTypeField |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Creates storage and field instance, attached to a given media type. |
MediaSourceTestBase::createMediaTypeFields |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Create a set of fields in a media type. |
MediaSourceTestBase::doTestCreateMediaType |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Test generic media type creation. |
MediaSourceTestBase::hideMediaTypeFieldWidget |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Hides a widget in the default form display config. |
MediaSourceTestBase::setUp |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
|
MediaStandardProfileTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Basic tests for Media configuration in the standard profile. |
MediaStandardProfileTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
|
MediaStandardProfileTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
The theme to install as the default for testing. |
MediaStandardProfileTest::$modules |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Modules to enable. |
MediaStandardProfileTest::$profile |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
The profile to install as a basis for testing. |
MediaStandardProfileTest::audioTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Test the standard profile configuration for media type 'audio'. |
MediaStandardProfileTest::documentTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Test the standard profile configuration for media type 'document'. |
MediaStandardProfileTest::imageTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Test the standard profile configuration for media type 'image'. |
MediaStandardProfileTest::remoteVideoTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Test the standard profile configuration for media type 'remote_video'. |
MediaStandardProfileTest::setUp |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
|
MediaStandardProfileTest::testMediaSources |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Tests all media sources in one method. |
MediaStandardProfileTest::videoTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Test the standard profile configuration for media type 'video'. |
MediaStorage |
class |
core/modules/media/src/MediaStorage.php |
Defines the storage handler class for media. |
MediaStorage.php |
file |
core/modules/media/src/MediaStorage.php |
|
MediaStorage::save |
function |
core/modules/media/src/MediaStorage.php |
Saves the entity permanently. |
MediaTemplateSuggestionsTest |
class |
core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php |
Tests media template suggestions. |
MediaTemplateSuggestionsTest.php |
file |
core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php |
|
MediaTemplateSuggestionsTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php |
The theme to install as the default for testing. |
MediaTemplateSuggestionsTest::$modules |
property |
core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php |
Modules to install. |
MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions |
function |
core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php |
Tests template suggestions from media_theme_suggestions_media(). |
MediaTest |
class |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
JSON:API integration test for the "Media" content entity type. |
MediaTest |
class |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests Media. |
MediaTest.php |
file |
core/modules/media/tests/src/Kernel/MediaTest.php |
|
MediaTest.php |
file |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
|
MediaTest::$defaultTheme |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
The theme to install as the default for testing. |
MediaTest::$entity |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
|
MediaTest::$entityTypeId |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
The tested entity type. |
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::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. |