function AtLeastOneOfConstraint::getCompositeOptionStatic
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\AtLeastOneOfConstraint::getCompositeOptionStatic()
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ AtLeastOneOfConstraint.php, line 26
Class
- AtLeastOneOfConstraint
- Checks that at least one of the given constraint is satisfied.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public static function getCompositeOptionStatic() : string {
return 'constraints';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.