public ExecutionContext::markConstraintAsValidated($cache_key, $constraint_hash)
Marks a constraint as validated for an object.
@internal Used by the validator engine. Should not be called by user code.
Parameters
string $cacheKey The hash of the object:
string $constraintHash The hash of the constraint:
Overrides ExecutionContextInterface::markConstraintAsValidated
File
- core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 263
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\TypedData\Validation
Code
public function markConstraintAsValidated($cache_key, $constraint_hash) { $this->validatedConstraints[$cache_key . ':' . $constraint_hash] = TRUE; }
Please login to continue.