public function 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\ValidationCode
public function markGroupAsValidated($cache_key, $group_hash) { $this->validatedObjects[$cache_key][$group_hash] = TRUE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!Validation!ExecutionContext.php/function/ExecutionContext::markGroupAsValidated/8.1.x