function BlockInterface::getRegion

Same name and namespace in other branches
  1. 9 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getRegion()
  2. 8.9.x core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getRegion()
  3. 10 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getRegion()

Returns the region this block is placed in.

Return value

string The region this block is placed in.

1 method overrides BlockInterface::getRegion()
Block::getRegion in core/modules/block/src/Entity/Block.php
Returns the region this block is placed in.

File

core/modules/block/src/BlockInterface.php, line 34

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getRegion();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.