You are here

protected function LibraryDiscoveryParser::fileValidUri in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php \Drupal\Core\Asset\LibraryDiscoveryParser::fileValidUri()

Wraps file_valid_uri().

1 call to LibraryDiscoveryParser::fileValidUri()
LibraryDiscoveryParser::buildByExtension in core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
Parses and builds up all the libraries information of an extension.
1 method overrides LibraryDiscoveryParser::fileValidUri()
TestLibraryDiscoveryParser::fileValidUri in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Wraps file_valid_uri().

File

core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php, line 399
Contains \Drupal\Core\Asset\LibraryDiscoveryParser.

Class

LibraryDiscoveryParser
Parses library files to get extension data.

Namespace

Drupal\Core\Asset

Code

protected function fileValidUri($source) {
  return file_valid_uri($source);
}