BlockInterface::setRegion

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);
doc_Drupal
2016-10-29 08:47:36
Comments
Leave a Comment

Please login to continue.