You are here

public property GranularityStringConstraint::$notValidGranularityString in Duration Field 3.0.x

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

The message shown when the value is not a valid granularity string.

Type: string

File

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

Class

GranularityStringConstraint
Checks that the submitted value is a valid granularity string.

Namespace

Drupal\duration_field\Plugin\Validation\Constraint

Code

public $notValidGranularityString = '%value is not a valid granularity string';