LibraryDiscovery::__construct

public LibraryDiscovery::__construct(CacheCollectorInterface $library_discovery_collector)

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 35

Class

LibraryDiscovery
Discovers available asset libraries in Drupal.

Namespace

Drupal\Core\Asset

Code

public function __construct(CacheCollectorInterface $library_discovery_collector) {
  $this->collector = $library_discovery_collector;
}
doc_Drupal
2016-10-29 09:23:07
Comments
Leave a Comment

Please login to continue.