public Block::setRegion($region)
Sets the region this block is placed in.
Parameters
string $region: The region to place this block in.
Return value
$this
Overrides BlockInterface::setRegion
File
- core/modules/block/src/Entity/Block.php, line 303
Class
- Block
- Defines a Block configuration entity class.
Namespace
Drupal\block\Entity
Code
public function setRegion($region) { $this->region = $region; return $this; }
Please login to continue.