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