LibraryDependencyResolver::__construct

public LibraryDependencyResolver::__construct(LibraryDiscoveryInterface $library_discovery)

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 23

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;
}
doc_Drupal
2016-10-29 09:23:05
Comments
Leave a Comment

Please login to continue.