public function ContextInterface::setWeight in Context 8
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setWeight()
- 8.0 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
Namespace
Drupal\contextCode
public function setWeight($weight);