You are here

public function TestLibraryDiscoveryParser::setPaths in Drupal 8

File

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

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;
}