You are here

public static function CshsFullHierarchyFormatter::defaultSettings in Client-side Hierarchical Select 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/Field/FieldFormatter/CshsFullHierarchyFormatter.php \Drupal\cshs\Plugin\Field\FieldFormatter\CshsFullHierarchyFormatter::defaultSettings()
  2. 8.2 src/Plugin/Field/FieldFormatter/CshsFullHierarchyFormatter.php \Drupal\cshs\Plugin\Field\FieldFormatter\CshsFullHierarchyFormatter::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/CshsFullHierarchyFormatter.php, line 25

Class

CshsFullHierarchyFormatter
Plugin implementation of the "Full hierarchy" formatter.

Namespace

Drupal\cshs\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() : array {
  return [
    'separator' => ' » ',
  ] + parent::defaultSettings();
}