You are here

public function BlockDisplayVariant::defaultConfiguration in Chaos Tool Suite (ctools) 8.3

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides VariantBase::defaultConfiguration

File

src/Plugin/DisplayVariant/BlockDisplayVariant.php, line 119

Class

BlockDisplayVariant
Provides a base class for a display variant that simply contains blocks.

Namespace

Drupal\ctools\Plugin\DisplayVariant

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'blocks' => [],
  ];
}