You are here

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides VariantBase::getConfiguration

File

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

Class

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

Namespace

Drupal\ctools\Plugin\DisplayVariant

Code

public function getConfiguration() {
  return [
    'blocks' => $this
      ->getBlockCollection()
      ->getConfiguration(),
  ] + parent::getConfiguration();
}