public function ParagraphsAccordionPlugin::defaultConfiguration in Paragraphs Collection 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ParagraphsBehaviorBase::defaultConfiguration
File
- modules/
paragraphs_collection_demo/ src/ Plugin/ paragraphs/ Behavior/ ParagraphsAccordionPlugin.php, line 98
Class
- ParagraphsAccordionPlugin
- Provides a way to define accordion effect.
Namespace
Drupal\paragraphs_collection_demo\Plugin\paragraphs\BehaviorCode
public function defaultConfiguration() {
return [
'paragraph_accordion_field' => '',
];
}