The list of allowed protocols.
Type: array
File
- drupal/core/lib/Drupal/Component/Utility/UrlValidator.php, line 20
- Contains \Drupal\Component\Utility\UrlValidator.
Class
- UrlValidator
- Helper class to support filtering bad protocols from an url.
Namespace
Drupal\Component\Utility
Code
protected static $allowedProtocols = array(
'http',
'https',
);