public property DataType::$constraints in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/Annotation/DataType.php \Drupal\Core\TypedData\Annotation\DataType::constraints
- 10 core/lib/Drupal/Core/TypedData/Annotation/DataType.php \Drupal\Core\TypedData\Annotation\DataType::constraints
An array of validation constraints for this type.
Type: array
See also
\Drupal\Core\TypedData\TypedDataManager::getConstraints().
File
- core/
lib/ Drupal/ Core/ TypedData/ Annotation/ DataType.php, line 92
Class
- DataType
- Defines a data type annotation object.
Namespace
Drupal\Core\TypedData\AnnotationCode
public $constraints;