protected function LoopExpression::allowsMetadataAssertions in Rules 8.3
Determines whether child-expressions are allowed to assert metadata.
Return value
bool Whether child-expressions are allowed to assert metadata.
Overrides ExpressionContainerBase::allowsMetadataAssertions
See also
\Drupal\rules\Engine\ExpressionInterface::prepareExecutionMetadataState()
File
- src/
Plugin/ RulesExpression/ LoopExpression.php, line 103
Class
- LoopExpression
- Holds a set of actions that are executed over the iteration of a list.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
protected function allowsMetadataAssertions() {
// As the list can be empty, we cannot ensure child expressions are
// executed at all - thus no assertions can be added.
return FALSE;
}