function TestLoader::getCacheKey

Same name in other branches
  1. 9 core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::getCacheKey()
  2. 8.9.x core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::getCacheKey()
  3. 10 core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::getCacheKey()

File

core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php, line 34

Class

TestLoader
A test Twig loader.

Namespace

Drupal\twig_loader_test\Loader

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.