You are here

public function ContextInterface::setWeight in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setWeight()
  2. 8 src/ContextInterface.php \Drupal\context\ContextInterface::setWeight()

Set the weight for this context.

Parameters

int $weight: The weight to set for this context.

Return value

$this

1 method overrides ContextInterface::setWeight()
Context::setWeight in src/Entity/Context.php
Set the weight for this context.

File

src/ContextInterface.php, line 104

Class

ContextInterface

Namespace

Drupal\context

Code

public function setWeight($weight);