BlockInterface::setWeight

public BlockInterface::setWeight($weight)

Sets the block weight.

Parameters

int $weight: The desired weight.

Return value

$this

File

core/modules/block/src/BlockInterface.php, line 119

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function setWeight($weight);
doc_Drupal
2016-10-29 08:47:36
Comments
Leave a Comment

Please login to continue.