MediaType |
class |
core/modules/media/src/Entity/MediaType.php |
Defines the Media type configuration entity. |
MediaType.php |
file |
core/modules/media/src/Entity/MediaType.php |
|
MediaType::$description |
property |
core/modules/media/src/Entity/MediaType.php |
A brief description of this media type. |
MediaType::$field_map |
property |
core/modules/media/src/Entity/MediaType.php |
The metadata field map. |
MediaType::$id |
property |
core/modules/media/src/Entity/MediaType.php |
The machine name of this media type. |
MediaType::$label |
property |
core/modules/media/src/Entity/MediaType.php |
The human-readable name of the media type. |
MediaType::$new_revision |
property |
core/modules/media/src/Entity/MediaType.php |
Default value of the 'Create new revision' checkbox of this media type. |
MediaType::$queue_thumbnail_downloads |
property |
core/modules/media/src/Entity/MediaType.php |
Whether thumbnail downloads are queued. |
MediaType::$source |
property |
core/modules/media/src/Entity/MediaType.php |
The media source ID. |
MediaType::$sourcePluginCollection |
property |
core/modules/media/src/Entity/MediaType.php |
Lazy collection for the media source. |
MediaType::$source_configuration |
property |
core/modules/media/src/Entity/MediaType.php |
The media source configuration. |
MediaType::$status |
property |
core/modules/media/src/Entity/MediaType.php |
Whether media items should be published by default. |
MediaType::getDescription |
function |
core/modules/media/src/Entity/MediaType.php |
Gets the entity description. |
MediaType::getFieldMap |
function |
core/modules/media/src/Entity/MediaType.php |
Returns the metadata field map. |
MediaType::getPluginCollections |
function |
core/modules/media/src/Entity/MediaType.php |
|
MediaType::getSource |
function |
core/modules/media/src/Entity/MediaType.php |
Returns the media source plugin. |
MediaType::getStatus |
function |
core/modules/media/src/Entity/MediaType.php |
|
MediaType::setDescription |
function |
core/modules/media/src/Entity/MediaType.php |
Sets the entity description. |
MediaType::setFieldMap |
function |
core/modules/media/src/Entity/MediaType.php |
Sets the metadata field map. |
MediaType::setNewRevision |
function |
core/modules/media/src/Entity/MediaType.php |
Sets whether new revisions should be created by default. |
MediaType::setQueueThumbnailDownloadsStatus |
function |
core/modules/media/src/Entity/MediaType.php |
Sets a flag to indicate that thumbnails should be downloaded via a queue. |
MediaType::shouldCreateNewRevision |
function |
core/modules/media/src/Entity/MediaType.php |
Gets whether a new revision should be created by default. |
MediaType::sourcePluginCollection |
function |
core/modules/media/src/Entity/MediaType.php |
Returns media source lazy plugin collection. |
MediaType::thumbnailDownloadsAreQueued |
function |
core/modules/media/src/Entity/MediaType.php |
Returns whether thumbnail downloads are queued. |
MediaTypeAccessControlHandler |
class |
core/modules/media/src/MediaTypeAccessControlHandler.php |
Defines the access control handler for the "Media Type" entity type. |
MediaTypeAccessControlHandler.php |
file |
core/modules/media/src/MediaTypeAccessControlHandler.php |
|
MediaTypeAccessControlHandler::$viewLabelOperation |
property |
core/modules/media/src/MediaTypeAccessControlHandler.php |
Allows to grant access to just the labels. |
MediaTypeAccessControlHandler::checkAccess |
function |
core/modules/media/src/MediaTypeAccessControlHandler.php |
Performs access checks. |
MediaTypeCreationTest |
class |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
Tests the media type creation. |
MediaTypeCreationTest |
class |
core/modules/media/tests/src/Functional/MediaTypeCreationTest.php |
Ensures that media UI works correctly without JavaScript. |
MediaTypeCreationTest.php |
file |
core/modules/media/tests/src/Functional/MediaTypeCreationTest.php |
|
MediaTypeCreationTest.php |
file |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
|
MediaTypeCreationTest::$defaultTheme |
property |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
The theme to install as the default for testing. |
MediaTypeCreationTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/MediaTypeCreationTest.php |
The theme to install as the default for testing. |
MediaTypeCreationTest::$modules |
property |
core/modules/media/tests/src/Functional/MediaTypeCreationTest.php |
Modules to enable. |
MediaTypeCreationTest::testMediaTypeCreationForm |
function |
core/modules/media/tests/src/Functional/MediaTypeCreationTest.php |
Tests the media type creation form with only the mandatory options. |
MediaTypeCreationTest::testMediaTypeCreationFormWithDefaultField |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
Tests the media type creation form. |
MediaTypeCreationTest::testMediaTypeCreationReuseSourceField |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
Test creation of media type, reusing an existing source field. |
MediaTypeCreationTest::testSourceChangeOnMediaTypeCreationForm |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php |
Tests the source field behavior on the add media type form. |
MediaTypeCreationTrait |
trait |
core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php |
Provides methods to create a media type from given values. |
MediaTypeCreationTrait.php |
file |
core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php |
|
MediaTypeCreationTrait::createMediaType |
function |
core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php |
Create a media type for a source plugin. |
MediaTypeDeleteConfirmForm |
class |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
Provides a form for media type deletion. |
MediaTypeDeleteConfirmForm.php |
file |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
|
MediaTypeDeleteConfirmForm::$entityTypeManager |
property |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
The entity type manager. |
MediaTypeDeleteConfirmForm::buildForm |
function |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
Form constructor. |
MediaTypeDeleteConfirmForm::create |
function |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
Instantiates a new instance of this class. |
MediaTypeDeleteConfirmForm::__construct |
function |
core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php |
Constructs a new MediaTypeDeleteConfirm object. |
MediaTypeForm |
class |
core/modules/media/src/MediaTypeForm.php |
Form controller for media type forms. |
MediaTypeForm.php |
file |
core/modules/media/src/MediaTypeForm.php |
|