You are here

public property MobileNumberConstraint::$validity in Mobile Number 8

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

File

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

Class

MobileNumberConstraint
Validates Mobile number fields. Includes validation for:

Namespace

Drupal\mobile_number\Plugin\Validation\Constraint

Code

public $validity = 'The @field_name @value is invalid for the following reason: @message.';