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