function 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\PluginCode
public function getRegionAssignment($block_id);