function ExpressionBase::setRoot

Overrides ExpressionInterface::setRoot

File

src/Engine/ExpressionBase.php, line 138

Class

ExpressionBase
Base class for rules expressions.

Namespace

Drupal\rules\Engine

Code

public function setRoot(ExpressionInterface $root) {
    $this->root = $root;
    return $this;
}