public static function HierarchicalFormatter::defaultSettings in Hierarchical Term Formatter 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/ HierarchicalFormatter.php, line 118
Class
- HierarchicalFormatter
- Plugin implementation of the 'rating' formatter.
Namespace
Drupal\hierarchical_term_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'display' => 'all',
'link' => FALSE,
'wrap' => 'none',
'separator' => ' » ',
'reverse' => FALSE,
] + parent::defaultSettings();
}