function TestLibraryDiscoveryParser::setFileValidUri
File
-
core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryParserTest.php, line 857
Class
- TestLibraryDiscoveryParser
- Wraps the tested class to mock the external dependencies.
Namespace
Drupal\Tests\Core\AssetCode
public function setFileValidUri($source, $valid) {
$this->validUris[$source] = $valid;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.