public static function Accordion::defaultContextSettings in Field Group 8
Same name and namespace in other branches
- 8.3 src/Plugin/field_group/FieldGroupFormatter/Accordion.php \Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Accordion::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 FieldGroupFormatterBase::defaultContextSettings
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ Accordion.php, line 83
Class
- Accordion
- Plugin implementation of the 'accordion' formatter.
Namespace
Drupal\field_group\Plugin\field_group\FieldGroupFormatterCode
public static function defaultContextSettings($context) {
return array(
'effect' => 'none',
) + parent::defaultSettings($context);
}