public function PatternLayout::defaultConfiguration in UI Patterns 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides LayoutDefault::defaultConfiguration
File
- modules/
ui_patterns_layouts/ src/ Plugin/ Layout/ PatternLayout.php, line 108
Class
- PatternLayout
- Class LayoutDefault.
Namespace
Drupal\ui_patterns_layouts\Plugin\LayoutCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'pattern' => [
'field_templates' => 'default',
'variant' => '',
],
];
}