You are here

public property MobileNumberConstraint::$unique in Mobile Number 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Validation/Constraint/MobileNumberConstraint.php \Drupal\mobile_number\Plugin\Validation\Constraint\MobileNumberConstraint::unique

File

src/Plugin/Validation/Constraint/MobileNumberConstraint.php, line 23

Class

MobileNumberConstraint
Validates Mobile number fields. Includes validation for:

Namespace

Drupal\mobile_number\Plugin\Validation\Constraint

Code

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