public function NoOptimizeCacheContext::getContext in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\NoOptimizeCacheContext::getContext()
- 9 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\NoOptimizeCacheContext::getContext()
File
- core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php, line 323 - Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.
Class
- NoOptimizeCacheContext
- Non-optimizable context class.
Namespace
Drupal\Tests\Core\Cache\ContextCode
public function getContext() {
return 'bar';
}