LibraryDiscovery::$collector

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::collector
  2. 10 core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::collector
  3. 11.x core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::collector

The library discovery cache collector.

Type: \Drupal\Core\Cache\CacheCollectorInterface

File

core/lib/Drupal/Core/Asset/LibraryDiscovery.php, line 17

Class

LibraryDiscovery
Discovers available asset libraries in Drupal.

Namespace

Drupal\Core\Asset

Code

protected $collector;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.