protected function LibraryDiscoveryCollector::getCid
protected LibraryDiscoveryCollector::getCid()
Gets the cache ID.
Return value
string
Overrides CacheCollector::getCid
File
- core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php, line 54
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!LibraryDiscoveryCollector.php/function/LibraryDiscoveryCollector::getCid/8.1.x