protected static property UrlHelper::$allowedProtocols in Drupal 9
Same name and namespace in other branches
- 8 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',
];