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

Breadcrumb

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

function All::getDefaultOption

Overrides Constraint::getDefaultOption

File

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

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 getDefaultOption() : ?string {
    return 'constraints';
}
RSS feed
Powered by Drupal