public static function CshsFlexibleHierarchyFormatter::defaultSettings in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.3 src/Plugin/Field/FieldFormatter/CshsFlexibleHierarchyFormatter.php \Drupal\cshs\Plugin\Field\FieldFormatter\CshsFlexibleHierarchyFormatter::defaultSettings()
- 8.2 src/Plugin/Field/FieldFormatter/CshsFlexibleHierarchyFormatter.php \Drupal\cshs\Plugin\Field\FieldFormatter\CshsFlexibleHierarchyFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides CshsFormatterBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ CshsFlexibleHierarchyFormatter.php, line 26
Class
- CshsFlexibleHierarchyFormatter
- Plugin implementation of the "Flexible hierarchy" formatter.
Namespace
Drupal\cshs\Plugin\Field\FieldFormatterCode
public static function defaultSettings() : array {
return [
'format' => '[term:name]',
'clear' => TRUE,
] + parent::defaultSettings();
}