public property PhpDateIntervalConstraint::$notDateInterval in Duration Field 3.0.x
Same name and namespace in other branches
- 8.2 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';