UrlHelper::$allowedProtocols
Same name in other branches
- 9 core/lib/Drupal/Component/Utility/UrlHelper.php \Drupal\Component\Utility\UrlHelper::allowedProtocols
- 8.9.x core/lib/Drupal/Component/Utility/UrlHelper.php \Drupal\Component\Utility\UrlHelper::allowedProtocols
- 10 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\UtilityCode
protected static $allowedProtocols = [
'http',
'https',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.