Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GroupProviderInterface.php

function GroupProviderInterface::getGroups

Returns which validation groups should be used for a certain state of the object.

Return value

string[]|string[][]|GroupSequence

File

vendor/symfony/validator/GroupProviderInterface.php, line 29

Class

GroupProviderInterface
Defines the interface for a validation group provider.

Namespace

Symfony\Component\Validator

Code

public function getGroups(object $object) : array|GroupSequence;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal