function TestLibraryDiscoveryParser::setPaths

File

core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php, line 680

Class

TestLibraryDiscoveryParser
Wraps the tested class to mock the external dependencies.

Namespace

Drupal\Tests\Core\Asset

Code

public function setPaths($type, $name, $path) {
    $this->paths[$type][$name] = $path;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.