public function Block::getRegion in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::getRegion()
- 9 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 181
Class
- Block
- Defines a Block configuration entity class.
Namespace
Drupal\block\EntityCode
public function getRegion() {
return $this->region;
}