function IconCollector::__construct
Constructs a IconCollector instance.
Parameters
\Drupal\Core\Theme\Icon\IconExtractorPluginManager $iconPackExtractorManager: The icon plugin extractor service.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.
\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.
Overrides CacheCollector::__construct
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconCollector.php, line 26
Class
- IconCollector
- A CacheCollector implementation for building icons info.
Namespace
Drupal\Core\Theme\IconCode
public function __construct(IconExtractorPluginManager $iconPackExtractorManager, CacheBackendInterface $cache, LockBackendInterface $lock) {
parent::__construct('icon_info', $cache, $lock, [
'icon_pack_collector',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.