function ExpressionContainerBase::allowsMetadataAssertions

Determines whether child-expressions are allowed to assert metadata.

Return value

bool Whether child-expressions are allowed to assert metadata.

See also

\Drupal\rules\Engine\ExpressionInterface::prepareExecutionMetadataState()

2 calls to ExpressionContainerBase::allowsMetadataAssertions()
ExpressionContainerBase::checkIntegrity in src/Engine/ExpressionContainerBase.php
Verifies that this expression is configured correctly.
ExpressionContainerBase::prepareExecutionMetadataState in src/Engine/ExpressionContainerBase.php
Prepares the execution metadata state by adding metadata to it.
4 methods override ExpressionContainerBase::allowsMetadataAssertions()
ActionSetExpression::allowsMetadataAssertions in src/Plugin/RulesExpression/ActionSetExpression.php
Determines whether child-expressions are allowed to assert metadata.
AndExpression::allowsMetadataAssertions in src/Plugin/RulesExpression/AndExpression.php
Determines whether child-expressions are allowed to assert metadata.
LoopExpression::allowsMetadataAssertions in src/Plugin/RulesExpression/LoopExpression.php
Determines whether child-expressions are allowed to assert metadata.
OrExpression::allowsMetadataAssertions in src/Plugin/RulesExpression/OrExpression.php
Determines whether child-expressions are allowed to assert metadata.

File

src/Engine/ExpressionContainerBase.php, line 81

Class

ExpressionContainerBase
Common base class for action and condition expression containers.

Namespace

Drupal\rules\Engine

Code

protected abstract function allowsMetadataAssertions();