public BlockInterface::setRegion($region)
Sets the region this block is placed in.
Parameters
string $region: The region to place this block in.
Return value
$this
File
- core/modules/block/src/BlockInterface.php, line 109
Class
- BlockInterface
- Provides an interface defining a block entity.
Namespace
Drupal\block
Code
public function setRegion($region);
Please login to continue.