function BlockDisplayVariant::getConfiguration

Same name in other branches
  1. 4.0.x src/Plugin/DisplayVariant/BlockDisplayVariant.php \Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant::getConfiguration()

Overrides VariantBase::getConfiguration

File

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

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();
}