function ExecutionContextInterface::setGroup
Warning: Should not be called by user code, to be used by the validator engine only.
Parameters
string|null $group The validated group:
2 methods override ExecutionContextInterface::setGroup()
- ExecutionContext::setGroup in core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php - Warning: Should not be called by user code, to be used by the validator engine only.
- ExecutionContext::setGroup in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Warning: Should not be called by user code, to be used by the validator engine only.
File
-
vendor/
symfony/ validator/ Context/ ExecutionContextInterface.php, line 132
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function setGroup(?string $group) : void;