Registry::$cache

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::cache
  2. 8.9.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::cache
  3. 11.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::cache

The cache backend to use for the complete theme registry data.

Type: \Drupal\Core\Cache\CacheBackendInterface

File

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

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

protected $cache;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.