You are here

public function PanelsDisplayVariant::defaultConfiguration in Panels 8.4

Same name and namespace in other branches
  1. 8.3 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 392

Class

PanelsDisplayVariant
Provides a display variant that simply contains blocks.

Namespace

Drupal\panels\Plugin\DisplayVariant

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'uuid' => $this
      ->uuidGenerator()
      ->generate(),
    'layout' => '',
    'layout_settings' => [],
    'page_title' => '',
    'storage_type' => '',
    'storage_id' => '',
  ];
}