Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LibraryDependencyResolver.php

function 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 30

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;
}
RSS feed
Powered by Drupal