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

Breadcrumb

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

Url::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/Url.php, line 28

Class

Url
Validates that a value is a valid URL string.

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::INVALID_URL_ERROR => 'INVALID_URL_ERROR',
    self::MISSING_TLD_ERROR => 'MISSING_TLD_ERROR',
];

API Navigation

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