Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Date.php

Date::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/Date.php, line 29

Class

Date
Validates that a value is a valid date, i.e. its string representation follows the Y-m-d format.

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
    self::INVALID_DATE_ERROR => 'INVALID_DATE_ERROR',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal