ExecutionContext::setGroup

public ExecutionContext::setGroup($group)

Sets the currently validated group.

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

Parameters

string|null $group The validated group:

Overrides ExecutionContextInterface::setGroup

File

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

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\TypedData\Validation

Code

public function setGroup($group) {
  $this->group = $group;
}
doc_Drupal
2016-10-29 09:09:31
Comments
Leave a Comment

Please login to continue.