function AtLeastOneOfConstraint::validatedBy

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraint.php, line 33

Class

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

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public function validatedBy() : string {
  return AtLeastOneOfValidator::class;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.