You are here

public function Block::getRegion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::getRegion()

Returns the region this block is placed in.

Return value

string The region this block is placed in.

Overrides BlockInterface::getRegion

File

core/modules/block/src/Entity/Block.php, line 176
Contains \Drupal\block\Entity\Block.

Class

Block
Defines a Block configuration entity class.

Namespace

Drupal\block\Entity

Code

public function getRegion() {
  return $this->region;
}