function ExpressionInterface::setRoot
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\EngineCode
public function setRoot(ExpressionInterface $root);