protected function MiconIconManager::setCachedPackages in Micon 2.x
Same name and namespace in other branches
- 8 src/MiconIconManager.php \Drupal\micon\MiconIconManager::setCachedPackages()
Sets a cache of Micon icons.
Parameters
array $icons: List of icons to store in cache.
1 call to MiconIconManager::setCachedPackages()
- MiconIconManager::getIcons in src/
MiconIconManager.php - Get all available icons.
File
- src/
MiconIconManager.php, line 150
Class
- MiconIconManager
- Class MiconIconManager.
Namespace
Drupal\miconCode
protected function setCachedPackages(array $icons) {
$this
->cacheSet($this->cacheKey, $icons, Cache::PERMANENT, $this->cacheTags);
$this->icons = $icons;
}