public StringLoader::getCacheKey($name)
Gets the cache key to use for the cache for a given template name.
Parameters
string $name The name of the template to load:
Return value
string The cache key
Throws
Twig_Error_Loader When $name is not found
Overrides Twig_LoaderInterface::getCacheKey
File
- core/lib/Drupal/Core/Template/Loader/StringLoader.php, line 47
Class
- StringLoader
- Loads string templates, also known as inline templates.
Namespace
Drupal\Core\Template\Loader
Code
public function getCacheKey($name) { return $name; }
Please login to continue.