Constraint::$label
Same name in other branches
- 9 core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::label
- 10 core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::label
- 11.x core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::label
The human-readable name of the constraint plugin.
Type: string|\Drupal\Core\Annotation\Translation
Related topics
File
-
core/
lib/ Drupal/ Core/ Validation/ Annotation/ Constraint.php, line 38
Class
- Constraint
- Defines a validation constraint annotation object.
Namespace
Drupal\Core\Validation\AnnotationCode
public $label;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.