You are here

public function ExecutionContextInterface::setGroup in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Context/ExecutionContextInterface.php \Symfony\Component\Validator\Context\ExecutionContextInterface::setGroup()

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:

2 methods override ExecutionContextInterface::setGroup()
ExecutionContext::setGroup in vendor/symfony/validator/Context/ExecutionContext.php
Sets the currently validated group.
ExecutionContext::setGroup in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Sets the currently validated group.

File

vendor/symfony/validator/Context/ExecutionContextInterface.php, line 139

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function setGroup($group);