public ExecutionContext::isGroupValidated($cache_key, $group_hash)
Returns whether an object was 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
Return value
bool Whether the object was already validated for that group
Overrides ExecutionContextInterface::isGroupValidated
File
- core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 291
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\TypedData\Validation
Code
1 2 3 | public function isGroupValidated( $cache_key , $group_hash ) { return isset( $this ->validatedObjects[ $cache_key ][ $group_hash ]); } |
Please login to continue.