function ExpressionManagerInterface::createCondition

Creates a new condition expression.

Parameters

string $id: The condition plugin id.

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

Return value

\Drupal\rules\Engine\ConditionExpressionInterface The created condition expression.

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

File

src/Engine/ExpressionManagerInterface.php, line 67

Class

ExpressionManagerInterface
Defines an interface for the expression plugin manager.

Namespace

Drupal\rules\Engine

Code

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