public function RulesComponent::checkIntegrity in Rules 8.3
Verifies that the given expression is valid with the defined context.
Return value
\Drupal\rules\Engine\IntegrityViolationList A list object containing \Drupal\rules\Engine\IntegrityViolation objects.
File
- src/
Engine/ RulesComponent.php, line 288
Class
- RulesComponent
- Handles executable Rules components.
Namespace
Drupal\rules\EngineCode
public function checkIntegrity() {
$metadata_state = $this
->getMetadataState();
return $this->expression
->checkIntegrity($metadata_state);
}