function BlockVariantInterface::getRegionAssignment

Same name in other branches
  1. 4.0.x src/Plugin/BlockVariantInterface.php \Drupal\ctools\Plugin\BlockVariantInterface::getRegionAssignment()

Returns the region a specific block is assigned to.

Parameters

string $block_id: The block ID.

Return value

string The machine name of the region this block is assigned to.

File

src/Plugin/BlockVariantInterface.php, line 51

Class

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

Namespace

Drupal\ctools\Plugin

Code

public function getRegionAssignment($block_id);