MediaSourceInterface::createSourceField |
function |
core/modules/media/src/MediaSourceInterface.php |
Creates the source field definition for a type. |
MediaSourceInterface::getMetadata |
function |
core/modules/media/src/MediaSourceInterface.php |
Gets the value for a metadata attribute for a given media item. |
MediaSourceInterface::getMetadataAttributes |
function |
core/modules/media/src/MediaSourceInterface.php |
Gets a list of metadata attributes provided by this plugin. |
MediaSourceInterface::getSourceFieldDefinition |
function |
core/modules/media/src/MediaSourceInterface.php |
Get the source field definition for a media type. |
MediaSourceInterface::getSourceFieldValue |
function |
core/modules/media/src/MediaSourceInterface.php |
Get the primary value stored in the source field. |
MediaSourceInterface::METADATA_FIELD_EMPTY |
constant |
core/modules/media/src/MediaSourceInterface.php |
Default empty value for metadata fields. |
MediaSourceInterface::prepareFormDisplay |
function |
core/modules/media/src/MediaSourceInterface.php |
Prepares the media type fields for this source in the form display. |
MediaSourceInterface::prepareViewDisplay |
function |
core/modules/media/src/MediaSourceInterface.php |
Prepares the media type fields for this source in the view display. |
MediaSourceManager |
class |
core/modules/media/src/MediaSourceManager.php |
Manages media source plugins. |
MediaSourceManager.php |
file |
core/modules/media/src/MediaSourceManager.php |
|
MediaSourceManager::__construct |
function |
core/modules/media/src/MediaSourceManager.php |
Constructs a new MediaSourceManager. |
MediaSourceOEmbedVideoTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
Tests the oembed:video media source. |
MediaSourceOEmbedVideoTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
|
MediaSourceOEmbedVideoTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
The theme to install as the default for testing. |
MediaSourceOEmbedVideoTest::$modules |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
Modules to install. |
MediaSourceOEmbedVideoTest::initConfig |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
Initialize various configurations post-installation. |
MediaSourceOEmbedVideoTest::setUp |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
|
MediaSourceOEmbedVideoTest::testMediaOEmbedVideoSource |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
Tests the oembed media source. |
MediaSourceOEmbedVideoTest::testOEmbedSecurityWarning |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php |
Tests that a security warning appears if iFrame domain is not set. |
MediaSourceTest |
class |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests media source plugins related logic. |
MediaSourceTest.php |
file |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
|
MediaSourceTest::$modules |
property |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Modules to install. |
MediaSourceTest::createMediaTypeViaForm |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Creates a media type via form submit. |
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 |
Tests 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::$modules |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Modules to install. |
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 |
Tests the standard profile configuration for media type 'audio'. |
MediaStandardProfileTest::documentTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Tests the standard profile configuration for media type 'document'. |
MediaStandardProfileTest::imageTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Tests the standard profile configuration for media type 'image'. |
MediaStandardProfileTest::remoteVideoTest |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php |
Tests 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. |