public function TwigEnvironment::getTwigCachePrefix in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::getTwigCachePrefix()
- 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 152
Class
- TwigEnvironment
- A class that defines a Twig environment for Drupal.
Namespace
Drupal\Core\TemplateCode
public function getTwigCachePrefix() {
return $this->twigCachePrefix;
}