You are here

public function Context::getWeight in Context 8

Same name and namespace in other branches
  1. 8.4 src/Entity/Context.php \Drupal\context\Entity\Context::getWeight()
  2. 8.0 src/Entity/Context.php \Drupal\context\Entity\Context::getWeight()

Get the weight for this context.

Return value

int

Overrides ContextInterface::getWeight

File

src/Entity/Context.php, line 221

Class

Context
Defines the Context entity.

Namespace

Drupal\context\Entity

Code

public function getWeight() {
  return $this->weight;
}