You are here

public function LibraryDependencyResolver::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php \Drupal\Core\Asset\LibraryDependencyResolver::__construct()

Constructs a new LibraryDependencyResolver instance.

Parameters

\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: The library discovery service.

File

core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php, line 28
Contains \Drupal\Core\Asset\LibraryDependencyResolver.

Class

LibraryDependencyResolver
Resolves the dependencies of asset (CSS/JavaScript) libraries.

Namespace

Drupal\Core\Asset

Code

public function __construct(LibraryDiscoveryInterface $library_discovery) {
  $this->libraryDiscovery = $library_discovery;
}