MediaSource::$thumbnail_alt_metadata_attribute
Same name in other branches
- 8.9.x core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::thumbnail_alt_metadata_attribute
- 10 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::thumbnail_alt_metadata_attribute
- 11.x 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 113
Class
- MediaSource
- Defines a media source plugin annotation object.
Namespace
Drupal\media\AnnotationCode
public $thumbnail_alt_metadata_attribute;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.