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

Breadcrumb

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

Isbn::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/Isbn.php, line 37

Class

Isbn
Validates that a value is a valid ISBN according to ISBN-10 or ISBN-13 formats.

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::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
    self::CHECKSUM_FAILED_ERROR => 'CHECKSUM_FAILED_ERROR',
    self::TYPE_NOT_RECOGNIZED_ERROR => 'TYPE_NOT_RECOGNIZED_ERROR',
];

API Navigation

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