function ExecutionContext::markConstraintAsValidated
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Validation/ExecutionContext.php \Drupal\Core\Validation\ExecutionContext::markConstraintAsValidated()
Overrides ExecutionContextInterface::markConstraintAsValidated
File
-
vendor/
symfony/ validator/ Context/ ExecutionContext.php, line 237
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function markConstraintAsValidated(string $cacheKey, string $constraintHash) : void {
$this->validatedConstraints[$cacheKey . ':' . $constraintHash] = true;
}