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
1 2 3 | public static function getAllowedProtocols() { return static :: $allowedProtocols ; } |
Please login to continue.