public property PhpDateIntervalConstraint::$notDateInterval in Duration Field 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/Validation/Constraint/PhpDateIntervalConstraint.php \Drupal\duration_field\Plugin\Validation\Constraint\PhpDateIntervalConstraint::notDateInterval
The message shown when the value is not a valid PHP DateInterval object.
Type: string
File
- src/
Plugin/ Validation/ Constraint/ PhpDateIntervalConstraint.php, line 26
Class
- PhpDateIntervalConstraint
- Checks that the submitted value is a valid value for a Date Interval object.
Namespace
Drupal\duration_field\Plugin\Validation\ConstraintCode
public $notDateInterval = '%value is not valid for a PHP DateInterval object';