function OrExpression::allowsMetadataAssertions

Overrides ExpressionContainerBase::allowsMetadataAssertions

File

src/Plugin/RulesExpression/OrExpression.php, line 45

Class

OrExpression
Evaluates a group of conditions with a logical OR.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

protected function allowsMetadataAssertions() {
    // We cannot guarantee child expressions are executed, thus we cannot allow
    // metadata assertions.
    return FALSE;
}