MediaSource |
class |
core/modules/media/src/Annotation/MediaSource.php |
Defines a media source plugin annotation object. |
MediaSource.php |
file |
core/modules/media/src/Annotation/MediaSource.php |
|
MediaSource::$allowed_field_types |
property |
core/modules/media/src/Annotation/MediaSource.php |
The field types that can be used as a source field for this media source. |
MediaSource::$default_name_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
The metadata attribute name to provide the default name. |
MediaSource::$default_thumbnail_filename |
property |
core/modules/media/src/Annotation/MediaSource.php |
A filename for the default thumbnail. |
MediaSource::$description |
property |
core/modules/media/src/Annotation/MediaSource.php |
A brief description of the media source. |
MediaSource::$forms |
property |
core/modules/media/src/Annotation/MediaSource.php |
The classes used to define media source-specific forms. |
MediaSource::$id |
property |
core/modules/media/src/Annotation/MediaSource.php |
The plugin ID. |
MediaSource::$label |
property |
core/modules/media/src/Annotation/MediaSource.php |
The human-readable name of the media source. |
MediaSource::$thumbnail_alt_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
(optional) The metadata attribute name to provide the thumbnail alt. |
MediaSource::$thumbnail_height_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
The metadata attribute name to provide the thumbnail height. |
MediaSource::$thumbnail_title_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
(optional) The metadata attribute name to provide the thumbnail title. |
MediaSource::$thumbnail_uri_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
The metadata attribute name to provide the thumbnail URI. |
MediaSource::$thumbnail_width_metadata_attribute |
property |
core/modules/media/src/Annotation/MediaSource.php |
The metadata attribute name to provide the thumbnail width. |
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 |
|