Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
All.php
All::$constraints
Type:
constraints
File
vendor/
symfony/
validator/
Constraints/
All.php
, line 25
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 array|Constraint $constraints = [];
RSS feed