You are here

protected static property UrlHelper::$allowedProtocols in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Utility/UrlHelper.php \Drupal\Component\Utility\UrlHelper::allowedProtocols

The list of allowed protocols.

Type: array

File

core/lib/Drupal/Component/Utility/UrlHelper.php, line 17

Class

UrlHelper
Helper class URL based methods.

Namespace

Drupal\Component\Utility

Code

protected static $allowedProtocols = [
  'http',
  'https',
];