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

Breadcrumb

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

Url::$protocols

Type: protocols

File

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

Class

Url
Validates that a value is a valid URL string.

Namespace

Symfony\Component\Validator\Constraints

Code

public array $protocols = [
    'http',
    'https',
];

API Navigation

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