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

Breadcrumb

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

function All::getRequiredOptions

Overrides Constraint::getRequiredOptions

File

vendor/symfony/validator/Constraints/All.php, line 41

Class

All
When applied to an array (or Traversable object), this constraint allows you to apply a collection of constraints to each element of the array.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getRequiredOptions() : array {
    return [
        'constraints',
    ];
}
RSS feed
Powered by Drupal