function ExpressionManagerInterface::createAction

Creates a new action expression.

Parameters

string $id: The action plugin id.

\Drupal\rules\Context\ContextConfig $configuration: (optional) The context configuration used to create the plugin instance.

Return value

\Drupal\rules\Engine\ActionExpressionInterface The created action expression.

1 method overrides ExpressionManagerInterface::createAction()
ExpressionManager::createAction in src/Engine/ExpressionManager.php
Creates a new action expression.

File

src/Engine/ExpressionManagerInterface.php, line 54

Class

ExpressionManagerInterface
Defines an interface for the expression plugin manager.

Namespace

Drupal\rules\Engine

Code

public function createAction($id, ContextConfig $configuration = NULL);