You are here

public property Iso8601StringConstraint::$notIso8601 in Duration Field 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Validation/Constraint/Iso8601StringConstraint.php \Drupal\duration_field\Plugin\Validation\Constraint\Iso8601StringConstraint::notIso8601

The message shown when the value is not a valid ISO 8601 duration string.

Type: string

File

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

Class

Iso8601StringConstraint
Checks that the submitted value is a valid ISO 8601 duration string.

Namespace

Drupal\duration_field\Plugin\Validation\Constraint

Code

public $notIso8601 = '%value is not a valid ISO 8601 duration string';