You are here

public property UniqueFieldConstraint::$message in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldConstraint::message

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php, line 22
Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldConstraint.

Class

UniqueFieldConstraint
Checks if an entity field has a unique value.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $message = 'A @entity_type with @field_name %value already exists.';