Block::getRegion

public 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 171

Class

Block
Defines a Block configuration entity class.

Namespace

Drupal\block\Entity

Code

public function getRegion() {
  return $this->region;
}
doc_Drupal
2016-10-29 08:46:28
Comments
Leave a Comment

Please login to continue.