protected LibraryDiscoveryParser::isValidUri($string)
Determines if the supplied string is a valid URI.
File
- core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php, line 403
Class
- LibraryDiscoveryParser
- Parses library files to get extension data.
Namespace
Drupal\Core\Asset
Code
protected function isValidUri($string) { return count(explode('://', $string)) === 2; }
Please login to continue.