You are here

public property Constraint::$label in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::label
  2. 10 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\Annotation

Code

public $label;