public property DateTimeFormatConstraint::$badValue in Drupal 8
Same name and namespace in other branches
- 9 core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php \Drupal\datetime\Plugin\Validation\Constraint\DateTimeFormatConstraint::badValue
Message for when the value did not parse properly.
Type: string
File
- core/
modules/ datetime/ src/ Plugin/ Validation/ Constraint/ DateTimeFormatConstraint.php, line 36
Class
- DateTimeFormatConstraint
- Validation constraint for DateTime items to ensure the format is correct.
Namespace
Drupal\datetime\Plugin\Validation\ConstraintCode
public $badValue = "The datetime value '@value' did not parse properly for the format '@format'";