public static function Thumbnail::defaultSettings in Video Embed Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/Thumbnail.php \Drupal\video_embed_field\Plugin\Field\FieldFormatter\Thumbnail::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
2 calls to Thumbnail::defaultSettings()
- Colorbox::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ Colorbox.php - Defines the default settings for this plugin.
- LazyLoad::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ LazyLoad.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldFormatter/ Thumbnail.php, line 126
Class
- Thumbnail
- Plugin implementation of the thumbnail field formatter.
Namespace
Drupal\video_embed_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'image_style' => '',
'link_image_to' => '',
];
}