Constraint::$id

Same name in other branches
  1. 9 core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::id
  2. 10 core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::id
  3. 11.x core/lib/Drupal/Core/Validation/Annotation/Constraint.php \Drupal\Core\Validation\Annotation\Constraint::id

The constraint plugin ID.

Type: string

File

core/lib/Drupal/Core/Validation/Annotation/Constraint.php, line 29

Class

Constraint
Defines a validation constraint annotation object.

Namespace

Drupal\Core\Validation\Annotation

Code

public $id;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.