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

Breadcrumb

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

Ulid::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/Ulid.php, line 33

Class

Ulid
Validates that a value is a valid Universally Unique Lexicographically Sortable Identifier (ULID).

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::TOO_SHORT_ERROR => 'TOO_SHORT_ERROR',
    self::TOO_LONG_ERROR => 'TOO_LONG_ERROR',
    self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
    self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
    self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
];

API Navigation

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