public property MediaSource::$default_thumbnail_filename in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::default_thumbnail_filename
- 9 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::default_thumbnail_filename
A filename for the default thumbnail.
The thumbnails are placed in the directory defined by the config setting 'media.settings.icon_base_uri'. When using custom icons, make sure the module provides a hook_install() implementation to copy the custom icons to this directory. The media_install() function provides a clear example of how to do this.
Type: string
See also
File
- core/
modules/ media/ src/ Annotation/ MediaSource.php, line 83
Class
- MediaSource
- Defines a media source plugin annotation object.
Namespace
Drupal\media\AnnotationCode
public $default_thumbnail_filename = 'generic.png';