function LibraryDependencyResolver::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php \Drupal\Core\Asset\LibraryDependencyResolver::__construct()
- 8.9.x core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php \Drupal\Core\Asset\LibraryDependencyResolver::__construct()
- 11.x 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 30
Class
- LibraryDependencyResolver
- Resolves the dependencies of asset (CSS/JavaScript) libraries.
Namespace
Drupal\Core\AssetCode
public function __construct(LibraryDiscoveryInterface $library_discovery) {
$this->libraryDiscovery = $library_discovery;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.