Constraint::$label

The human-readable name of the constraint plugin.

Type: string|\Drupal\Core\Annotation\Translation

Related topics

Annotation for translatable text
Describes how to put translatable UI text into annotations.

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;
doc_Drupal
2016-10-29 08:56:06
Comments
Leave a Comment

Please login to continue.