UrlHelper::getAllowedProtocols

public static UrlHelper::getAllowedProtocols()

Gets the allowed protocols.

Return value

array An array of protocols, for example http, https and irc.

File

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

Class

UrlHelper
Helper class URL based methods.

Namespace

Drupal\Component\Utility

Code

public static function getAllowedProtocols() {
  return static::$allowedProtocols;
}
doc_Drupal
2016-10-29 09:51:53
Comments
Leave a Comment

Please login to continue.