function PagersCacheContext::getCacheableMetadata
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php \Drupal\Core\Cache\Context\PagersCacheContext::getCacheableMetadata()
- 8.9.x core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php \Drupal\Core\Cache\Context\PagersCacheContext::getCacheableMetadata()
- 11.x core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php \Drupal\Core\Cache\Context\PagersCacheContext::getCacheableMetadata()
Overrides CalculatedCacheContextInterface::getCacheableMetadata
File
-
core/
lib/ Drupal/ Core/ Cache/ Context/ PagersCacheContext.php, line 59
Class
- PagersCacheContext
- Defines a cache context for "per page in a pager" caching.
Namespace
Drupal\Core\Cache\ContextCode
public function getCacheableMetadata($pager_id = NULL) {
return new CacheableMetadata();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.