public static function TitleFormatter::defaultSettings in Manage display 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ TitleFormatter.php, line 82
Class
- TitleFormatter
- A field formatter for entity titles.
Namespace
Drupal\manage_display\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'tag' => 'h2',
'linked' => TRUE,
];
}