public static function FileImageFormatter::defaultSettings in File Entity (fieldable files) 8.2
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides ImageFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ FileImageFormatter.php, line 87
Class
- FileImageFormatter
- Implementation of the 'image' formatter for the file_entity files.
Namespace
Drupal\file_entity\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'title' => 'field_image_title_text',
'alt' => 'field_image_alt_text',
] + parent::defaultSettings();
}