public function Twig_Loader_String::getCacheKey

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

drupal/core/vendor/twig/twig/lib/Twig/Loader/String.php, line 47

Class

Twig_Loader_String
Loads a template from a string.

Code

public function getCacheKey($name) {
  return $name;
}