public static function FieldGroupFormatterBase::defaultContextSettings in Field Group 8
Same name and namespace in other branches
- 8.3 src/FieldGroupFormatterBase.php \Drupal\field_group\FieldGroupFormatterBase::defaultContextSettings()
Defines the default settings for this plugin.
Parameters
string $context: The context to get the default settings for.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldGroupFormatterInterface::defaultContextSettings
2 calls to FieldGroupFormatterBase::defaultContextSettings()
- FieldGroupFormatterBase::defaultSettings in src/
FieldGroupFormatterBase.php - Defines the default settings for this plugin.
- Tabs::defaultContextSettings in src/
Plugin/ field_group/ FieldGroupFormatter/ Tabs.php - Defines the default settings for this plugin.
7 methods override FieldGroupFormatterBase::defaultContextSettings()
- 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.
File
- src/
FieldGroupFormatterBase.php, line 144
Class
- FieldGroupFormatterBase
- Base class for 'Fieldgroup formatter' plugin implementations.
Namespace
Drupal\field_groupCode
public static function defaultContextSettings($context) {
return array(
'classes' => '',
'id' => '',
);
}