function TwigEnvironment::getTwigCachePrefix
Same name in other branches
- 9 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::getTwigCachePrefix()
- 10 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::getTwigCachePrefix()
- 11.x core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::getTwigCachePrefix()
Get the cache prefixed used by \Drupal\Core\Template\TwigPhpStorageCache
Return value
string The file cache prefix, or empty string if the cache is disabled.
File
-
core/
lib/ Drupal/ Core/ Template/ TwigEnvironment.php, line 121
Class
- TwigEnvironment
- A class that defines a Twig environment for Drupal.
Namespace
Drupal\Core\TemplateCode
public function getTwigCachePrefix() {
return $this->twigCachePrefix;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.