ExecutionContext::markGroupAsValidated

public ExecutionContext::markGroupAsValidated($cache_key, $group_hash)

Marks an object as validated in a specific validation group.

@internal Used by the validator engine. Should not be called by user code.

Parameters

string $cacheKey The hash of the object:

string $groupHash The group's name or hash, if it is group: sequence

Overrides ExecutionContextInterface::markGroupAsValidated

File

core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 284

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\TypedData\Validation

Code

public function markGroupAsValidated($cache_key, $group_hash) {
  $this->validatedObjects[$cache_key][$group_hash] = TRUE;
}
doc_Drupal
2016-10-29 09:09:31
Comments
Leave a Comment

Please login to continue.