function ExpressionBase::setWeight

Overrides ExpressionInterface::setWeight

File

src/Engine/ExpressionBase.php, line 175

Class

ExpressionBase
Base class for rules expressions.

Namespace

Drupal\rules\Engine

Code

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