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

Breadcrumb

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

function AtLeastOneOf::getDefaultOption

Overrides Constraint::getDefaultOption

File

vendor/symfony/validator/Constraints/AtLeastOneOf.php, line 51

Class

AtLeastOneOf
Checks that at least one of the given constraint is satisfied.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getDefaultOption() : ?string {
    return 'constraints';
}
RSS feed
Powered by Drupal