You are here

public static function FieldGroupFormatterBase::defaultSettings in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/FieldGroupFormatterBase.php \Drupal\field_group\FieldGroupFormatterBase::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

6 calls to FieldGroupFormatterBase::defaultSettings()
Accordion::defaultContextSettings in src/Plugin/field_group/FieldGroupFormatter/Accordion.php
Defines the default settings for this plugin.
AccordionItem::defaultContextSettings in src/Plugin/field_group/FieldGroupFormatter/AccordionItem.php
Defines the default settings for this plugin.
Details::defaultContextSettings in src/Plugin/field_group/FieldGroupFormatter/Details.php
Defines the default settings for this plugin.
Fieldset::defaultContextSettings in src/Plugin/field_group/FieldGroupFormatter/Fieldset.php
Defines the default settings for this plugin.
HtmlElement::defaultContextSettings in src/Plugin/field_group/FieldGroupFormatter/HtmlElement.php
Defines the default settings for this plugin.

... See full list

File

src/FieldGroupFormatterBase.php, line 137

Class

FieldGroupFormatterBase
Base class for 'Fieldgroup formatter' plugin implementations.

Namespace

Drupal\field_group

Code

public static function defaultSettings() {
  return self::defaultContextSettings('view');
}