You are here

protected static property UrlHelper::$allowedProtocols in Service Container 7.2

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

The list of allowed protocols.

Type: array

File

lib/Drupal/Component/Utility/UrlHelper.php, line 22
Contains \Drupal\Component\Utility\UrlHelper.

Class

UrlHelper
Helper class URL based methods.

Namespace

Drupal\Component\Utility

Code

protected static $allowedProtocols = array(
  'http',
  'https',
);