public static function FaqFieldAnchorListFormatter::defaultSettings in FAQ Field 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Field/FieldFormatter/FaqFieldAnchorListFormatter.php \Drupal\faqfield\Plugin\Field\FieldFormatter\FaqFieldAnchorListFormatter::defaultSettings()
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/ FaqFieldAnchorListFormatter.php, line 25
Class
- FaqFieldAnchorListFormatter
- Plugin implementation of the 'faqfield_anchor_list' formatter.
Namespace
Drupal\faqfield\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'anchor_list_type' => 'ul',
] + parent::defaultSettings();
}