function ExpressionInterface::setWeight
Sets the list order of this expression in an expression tree.
Parameters
int $weight: The weight to set.
Return value
$this
1 method overrides ExpressionInterface::setWeight()
- ExpressionBase::setWeight in src/
Engine/ ExpressionBase.php - Sets the list order of this expression in an expression tree.
File
-
src/
Engine/ ExpressionInterface.php, line 105
Class
- ExpressionInterface
- Defines the interface for Rules expressions.
Namespace
Drupal\rules\EngineCode
public function setWeight($weight);