protected function TestLibraryDiscoveryParser::fileValidUri in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php \Drupal\Tests\Core\Asset\TestLibraryDiscoveryParser::fileValidUri()
Wraps file_valid_uri().
Overrides LibraryDiscoveryParser::fileValidUri
File
- core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryParserTest.php, line 555 - Contains \Drupal\Tests\Core\Asset\LibraryDiscoveryParserTest.
Class
- TestLibraryDiscoveryParser
- Wraps the tested class to mock the external dependencies.
Namespace
Drupal\Tests\Core\AssetCode
protected function fileValidUri($source) {
return isset($this->validUris[$source]) ? $this->validUris[$source] : FALSE;
}