You are here

public property MobileNumberConstraint::$allowedCountry 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::allowedCountry

File

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

Class

MobileNumberConstraint
Validates Mobile number fields. Includes validation for:

Namespace

Drupal\mobile_number\Plugin\Validation\Constraint

Code

public $allowedCountry = 'The country @value provided for @field_name is not an allowed country.';