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);
Please login to continue.