public function ParagraphsGridLayoutPlugin::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
- src/
Plugin/ paragraphs/ Behavior/ ParagraphsGridLayoutPlugin.php, line 73
Class
- ParagraphsGridLayoutPlugin
- Provides a way to define grid based layouts.
Namespace
Drupal\paragraphs_collection\Plugin\paragraphs\BehaviorCode
public function defaultConfiguration() {
return [
'paragraph_reference_field' => '',
'available_grid_layouts' => [],
];
}