public function LibraryDiscovery::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::__construct()
Constructs a new LibraryDiscovery instance.
Parameters
\Drupal\Core\Cache\CacheCollectorInterface $library_discovery_collector: The library discovery cache collector.
File
- core/
lib/ Drupal/ Core/ Asset/ LibraryDiscovery.php, line 40 - Contains \Drupal\Core\Asset\LibraryDiscovery.
Class
- LibraryDiscovery
- Discovers available asset libraries in Drupal.
Namespace
Drupal\Core\AssetCode
public function __construct(CacheCollectorInterface $library_discovery_collector) {
$this->collector = $library_discovery_collector;
}