protected function LibraryDiscoveryCollector::getCid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php \Drupal\Core\Asset\LibraryDiscoveryCollector::getCid()
Gets the cache ID.
Return value
string
Overrides CacheCollector::getCid
File
- core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryCollector.php, line 73 - Contains \Drupal\Core\Asset\LibraryDiscoveryCollector.
Class
- LibraryDiscoveryCollector
- A CacheCollector implementation for building library extension info.
Namespace
Drupal\Core\AssetCode
protected function getCid() {
if (!isset($this->cid)) {
$this->cid = 'library_info:' . $this->themeManager
->getActiveTheme()
->getName();
}
return $this->cid;
}