public function PanelsDisplayVariant::defaultConfiguration in Panels 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/DisplayVariant/PanelsDisplayVariant.php \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockDisplayVariant::defaultConfiguration
File
- src/
Plugin/ DisplayVariant/ PanelsDisplayVariant.php, line 395
Class
- PanelsDisplayVariant
- Provides a display variant that simply contains blocks.
Namespace
Drupal\panels\Plugin\DisplayVariantCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'uuid' => $this
->uuidGenerator()
->generate(),
'layout' => '',
'layout_settings' => [],
'page_title' => '',
'storage_type' => '',
'storage_id' => '',
];
}