function BlockVariantTrait::getBlockConfig

Same name in other branches
  1. 8.x-3.x src/Plugin/BlockVariantTrait.php \Drupal\ctools\Plugin\BlockVariantTrait::getBlockConfig()

Returns the configuration for stored blocks.

Return value

array An array of block configuration, keyed by the unique block ID.

1 call to BlockVariantTrait::getBlockConfig()
BlockVariantTrait::getBlockCollection in src/Plugin/BlockVariantTrait.php
Returns the block plugins used for this display variant.
2 methods override BlockVariantTrait::getBlockConfig()
BlockDisplayVariant::getBlockConfig in src/Plugin/DisplayVariant/BlockDisplayVariant.php
Returns the configuration for stored blocks.
TestBlockVariantTrait::getBlockConfig in tests/src/Unit/BlockVariantTraitTest.php
Returns the configuration for stored blocks.

File

src/Plugin/BlockVariantTrait.php, line 168

Class

BlockVariantTrait
Provides methods for \Drupal\ctools\Plugin\BlockVariantInterface.

Namespace

Drupal\ctools\Plugin

Code

protected abstract function getBlockConfig();