You are here

public function ExpressionInterface::setRoot in Rules 8.3

Set the root expression for this expression if it is nested.

Parameters

\Drupal\rules\Engine\ExpressionInterface $root: The root expression object.

Return value

$this

1 method overrides ExpressionInterface::setRoot()
ExpressionBase::setRoot in src/Engine/ExpressionBase.php
Set the root expression for this expression if it is nested.

File

src/Engine/ExpressionInterface.php, line 61

Class

ExpressionInterface
Defines the interface for Rules expressions.

Namespace

Drupal\rules\Engine

Code

public function setRoot(ExpressionInterface $root);