public function TwigEnvironment::getTwigCachePrefix in Drupal 8
Same name and namespace in other branches
- 9 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;
}