You are here

public function TestLibraryDiscoveryParser::setPaths in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php \Drupal\Tests\Core\Asset\TestLibraryDiscoveryParser::setPaths()

File

core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php, line 551
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;
}