function ExpressionContainerInterface::deleteExpression

Deletes an expression identified by the specified UUID in the container.

Parameters

string $uuid: The UUID of the expression.

Return value

bool TRUE if an expression was deleted, FALSE if no expression with that UUID was found.

3 methods override ExpressionContainerInterface::deleteExpression()
ActionExpressionContainer::deleteExpression in src/Engine/ActionExpressionContainer.php
Deletes an expression identified by the specified UUID in the container.
ConditionExpressionContainer::deleteExpression in src/Engine/ConditionExpressionContainer.php
Deletes an expression identified by the specified UUID in the container.
RuleExpression::deleteExpression in src/Plugin/RulesExpression/RuleExpression.php
Deletes an expression identified by the specified UUID in the container.

File

src/Engine/ExpressionContainerInterface.php, line 68

Class

ExpressionContainerInterface
Defines a common interface for expressions containing other expressions.

Namespace

Drupal\rules\Engine

Code

public function deleteExpression($uuid);