You are here

protected function ExpressionContainerBase::prepareExecutionMetadataStateBeforeTraversal in Rules 8.3

Prepares execution metadata state before traversing through children.

See also

::prepareExecutionMetadataState()

::checkIntegrity()

2 calls to ExpressionContainerBase::prepareExecutionMetadataStateBeforeTraversal()
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.
1 method overrides ExpressionContainerBase::prepareExecutionMetadataStateBeforeTraversal()
LoopExpression::prepareExecutionMetadataStateBeforeTraversal in src/Plugin/RulesExpression/LoopExpression.php
Prepares execution metadata state before traversing through children.

File

src/Engine/ExpressionContainerBase.php, line 123

Class

ExpressionContainerBase
Common base class for action and condition expression containers.

Namespace

Drupal\rules\Engine

Code

protected function prepareExecutionMetadataStateBeforeTraversal(ExecutionMetadataStateInterface $metadata_state) {

  // Any pre-traversal preparations need to be added here.
}