MediaSource::__construct |
function |
core/modules/media/src/Attribute/MediaSource.php |
Constructs a new MediaSource attribute. |
MediaSourceAudioVideoTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php |
Tests the Audio and Video media sources. |
MediaSourceAudioVideoTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php |
|
MediaSourceAudioVideoTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php |
The theme to install as the default for testing. |
MediaSourceAudioVideoTest::testAudioTypeCreation |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php |
Check the Audio source functionality. |
MediaSourceAudioVideoTest::testVideoTypeCreation |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php |
Check the Video source functionality. |
MediaSourceBase |
class |
core/modules/media/src/MediaSourceBase.php |
Base implementation of media source plugin. |
MediaSourceBase.php |
file |
core/modules/media/src/MediaSourceBase.php |
|
MediaSourceBase::$configFactory |
property |
core/modules/media/src/MediaSourceBase.php |
The config factory service. |
MediaSourceBase::$entityFieldManager |
property |
core/modules/media/src/MediaSourceBase.php |
The entity field manager service. |
MediaSourceBase::$entityTypeManager |
property |
core/modules/media/src/MediaSourceBase.php |
The entity type manager service. |
MediaSourceBase::$fieldTypeManager |
property |
core/modules/media/src/MediaSourceBase.php |
The field type plugin manager service. |
MediaSourceBase::$label |
property |
core/modules/media/src/MediaSourceBase.php |
Plugin label. |
MediaSourceBase::buildConfigurationForm |
function |
core/modules/media/src/MediaSourceBase.php |
Form constructor. |
MediaSourceBase::calculateDependencies |
function |
core/modules/media/src/MediaSourceBase.php |
Calculates dependencies for the configured plugin. |
MediaSourceBase::create |
function |
core/modules/media/src/MediaSourceBase.php |
Creates an instance of the plugin. |
MediaSourceBase::createSourceField |
function |
core/modules/media/src/MediaSourceBase.php |
Creates the source field definition for a type. |
MediaSourceBase::createSourceFieldStorage |
function |
core/modules/media/src/MediaSourceBase.php |
Creates the source field storage definition. |
MediaSourceBase::defaultConfiguration |
function |
core/modules/media/src/MediaSourceBase.php |
Gets default configuration for this plugin. |
MediaSourceBase::getConfiguration |
function |
core/modules/media/src/MediaSourceBase.php |
Gets this plugin's configuration. |
MediaSourceBase::getMetadata |
function |
core/modules/media/src/MediaSourceBase.php |
Gets the value for a metadata attribute for a given media item. |
MediaSourceBase::getSourceFieldDefinition |
function |
core/modules/media/src/MediaSourceBase.php |
Get the source field definition for a media type. |
MediaSourceBase::getSourceFieldName |
function |
core/modules/media/src/MediaSourceBase.php |
Determine the name of the source field. |
MediaSourceBase::getSourceFieldOptions |
function |
core/modules/media/src/MediaSourceBase.php |
Get the source field options for the media type form. |
MediaSourceBase::getSourceFieldStorage |
function |
core/modules/media/src/MediaSourceBase.php |
Returns the source field storage definition. |
MediaSourceBase::getSourceFieldValue |
function |
core/modules/media/src/MediaSourceBase.php |
Get the primary value stored in the source field. |
MediaSourceBase::prepareFormDisplay |
function |
core/modules/media/src/MediaSourceBase.php |
Prepares the media type fields for this source in the form display. |
MediaSourceBase::prepareViewDisplay |
function |
core/modules/media/src/MediaSourceBase.php |
Prepares the media type fields for this source in the view display. |
MediaSourceBase::setConfiguration |
function |
core/modules/media/src/MediaSourceBase.php |
Sets the configuration for this plugin instance. |
MediaSourceBase::submitConfigurationForm |
function |
core/modules/media/src/MediaSourceBase.php |
Form submission handler. |
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/FunctionalJavascript/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest |
class |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest |
class |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
Tests the file media source. |
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/Functional/MediaSourceFileTest.php |
|
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
|
MediaSourceFileTest.php |
file |
core/modules/media/tests/src/Kernel/MediaSourceFileTest.php |
|
MediaSourceFileTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php |
The theme to install as the default for testing. |
MediaSourceFileTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/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. |