You are here

public property MediaSource::$thumbnail_alt_metadata_attribute in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::thumbnail_alt_metadata_attribute

(optional) The metadata attribute name to provide the thumbnail alt.

"Thumbnail" will be used if the attribute name is not provided.

Type: string|null

File

core/modules/media/src/Annotation/MediaSource.php, line 99

Class

MediaSource
Defines a media source plugin annotation object.

Namespace

Drupal\media\Annotation

Code

public $thumbnail_alt_metadata_attribute;