public static function TextWithTitleTabsVerticalFormatter::defaultSettings in Text with Title Field 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/ TextWithTitleTabsVerticalFormatter.php, line 27
Class
- TextWithTitleTabsVerticalFormatter
- Plugin implementation of the 'TextWithTitleTabsVerticalFormatter' formatter.
Namespace
Drupal\text_with_title\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
// Declare a setting named 'text_length', with
// a default value of 'short'.
'tabs_width' => '3',
] + parent::defaultSettings();
}