protected function DefaultPluginManager::cacheGet in Plug 7
Fetches from the cache backend, respecting the use caches flag.
See also
1 call to DefaultPluginManager::cacheGet()
- DefaultPluginManager::getCachedDefinitions in lib/
Drupal/ Core/ Plugin/ DefaultPluginManager.php - Returns the cached plugin definitions of the decorated discovery class.
File
- lib/
Drupal/ Core/ Plugin/ DefaultPluginManager.php, line 224 - Contains \Drupal\Core\Plugin\DefaultPluginManager.
Class
- DefaultPluginManager
- Base class for plugin managers.
Namespace
Drupal\Core\PluginCode
protected function cacheGet($cid) {
if ($this->useCaches && $this->cacheBackend) {
return $this->cacheBackend
->get($cid);
}
return FALSE;
}