Registry::setCache

protected Registry::setCache()

Persists the theme registry in the cache backend.

File

core/lib/Drupal/Core/Theme/Registry.php, line 250

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

protected function setCache() {
  $this->cache->set('theme_registry:' . $this->theme->getName(), $this->registry[$this->theme->getName()], Cache::PERMANENT, array('theme_registry'));
}
doc_Drupal
2016-10-29 09:37:17
Comments
Leave a Comment

Please login to continue.