You are here

public function RuleExpression::setActions in Rules 8.3

Sets the action container.

Parameters

\Drupal\rules\Engine\ActionExpressionContainerInterface $actions: The action container to set.

Return value

$this

Overrides RuleExpressionInterface::setActions

File

src/Plugin/RulesExpression/RuleExpression.php, line 168

Class

RuleExpression
Provides a rule, executing actions when conditions are met.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

public function setActions(ActionExpressionContainerInterface $actions) {
  $this->actions = $actions;
  return $this;
}