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

Breadcrumb

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

interface GroupProviderInterface

Defines the interface for a validation group provider.

@author Yonel Ceruto <yonelceruto@gmail.com>

Hierarchy

  • interface \Symfony\Component\Validator\GroupProviderInterface

Expanded class hierarchy of GroupProviderInterface

All classes that implement GroupProviderInterface

File

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

Namespace

Symfony\Component\Validator
View source
interface GroupProviderInterface {
    
    /**
     * Returns which validation groups should be used for a certain state
     * of the object.
     *
     * @return string[]|string[][]|GroupSequence
     */
    public function getGroups(object $object) : array|GroupSequence;

}

Members

Title Sort descending Modifiers Object type Summary
GroupProviderInterface::getGroups public function Returns which validation groups should be used for a certain state
of the object.

API Navigation

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