function EntityTestViewGrantsCacheContext::getCacheableMetadata
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getCacheableMetadata()
- 10 core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getCacheableMetadata()
- 11.x core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getCacheableMetadata()
Overrides CacheContextInterface::getCacheableMetadata
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Cache/ EntityTestViewGrantsCacheContext.php, line 36
Class
- EntityTestViewGrantsCacheContext
- Defines the entity_test view grants cache context service.
Namespace
Drupal\entity_test\CacheCode
public function getCacheableMetadata() {
return new CacheableMetadata();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.