function BlockVariantInterface::getRegionAssignments

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

Returns an array of regions and their block plugins.

Return value

array The array is first keyed by region machine name, with the values containing an array keyed by block ID, with block plugin instances as the values.

File

src/Plugin/BlockVariantInterface.php, line 61

Class

BlockVariantInterface
Provides an interface for variant plugins that use block plugins.

Namespace

Drupal\ctools\Plugin

Code

public function getRegionAssignments();