MediaSourceBase::validateConfigurationForm |
function |
core/modules/media/src/MediaSourceBase.php |
Form validation handler. |
MediaSourceBase::__construct |
function |
core/modules/media/src/MediaSourceBase.php |
Constructs a new class instance. |
MediaSourceEntityConstraintsInterface |
interface |
core/modules/media/src/MediaSourceEntityConstraintsInterface.php |
Defines an interface for a media source with entity constraints. |
MediaSourceEntityConstraintsInterface.php |
file |
core/modules/media/src/MediaSourceEntityConstraintsInterface.php |
|
MediaSourceEntityConstraintsInterface::getEntityConstraints |
function |
core/modules/media/src/MediaSourceEntityConstraintsInterface.php |
Gets media source-specific validation constraints for a media item. |
MediaSourceFieldConstraintsInterface |
interface |
core/modules/media/src/MediaSourceFieldConstraintsInterface.php |
Defines an interface for a media source with source field constraints. |
MediaSourceFieldConstraintsInterface.php |
file |
core/modules/media/src/MediaSourceFieldConstraintsInterface.php |
|
MediaSourceFieldConstraintsInterface::getSourceFieldConstraints |
function |
core/modules/media/src/MediaSourceFieldConstraintsInterface.php |
Gets media source-specific validation constraints for a source field. |
MediaSourceFileTest |
class |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest |
class |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
|
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
|
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
|
MediaSourceFileTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
The theme to install as the default for testing. |
MediaSourceFileTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
The theme to install as the default for testing. |
MediaSourceFileTest::testFileDeletion |
function |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
Tests a media file can be deleted. |
MediaSourceFileTest::testFileExtensionConstraint |
function |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
Tests the file extension constraint. |
MediaSourceFileTest::testMediaFileSource |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest::testPreventSourceFieldDeletion |
function |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
Ensure source field deletion is not possible. |
MediaSourceFileTest::testSourceFieldSettingsEditing |
function |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
Test that it's possible to change the allowed file extensions. |
MediaSourceImageTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php |
Tests the image media source. |
MediaSourceImageTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php |
|
MediaSourceImageTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php |
The theme to install as the default for testing. |
MediaSourceImageTest::assertViewDisplayConfigured |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php |
Asserts the proper entity view display components for a media type. |
MediaSourceImageTest::testMediaImageSource |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php |
Tests the image media source. |
MediaSourceInterface |
interface |
core/modules/media/src/MediaSourceInterface.php |
Defines the interface for media source plugins. |
MediaSourceInterface.php |
file |
core/modules/media/src/MediaSourceInterface.php |
|
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 enable. |
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 |
Test 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::createMediaTypeViaForm |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Creates a media type via form submit. |