You are here

public function BlockInterface::getWeight in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getWeight()

Returns the weight of this block (used for sorting).

Return value

int The block weight.

1 method overrides BlockInterface::getWeight()
Block::getWeight in core/modules/block/src/Entity/Block.php
Returns the weight of this block (used for sorting).

File

core/modules/block/src/BlockInterface.php, line 104
Contains \Drupal\block\BlockInterface.

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getWeight();