function ExecutionContext::markConstraintAsValidated
Same name in this branch
- 11.1.x vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::markConstraintAsValidated()
Overrides ExecutionContextInterface::markConstraintAsValidated
File
-
core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php, line 205
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\ValidationCode
public function markConstraintAsValidated(string $cacheKey, string $constraintHash) : void {
$this->validatedConstraints[$cacheKey . ':' . $constraintHash] = TRUE;
}