public function ContextInspector::getCacheMaxAge in Context 8.4
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides ContextAwarePluginBase::getCacheMaxAge
File
- modules/
context_ui/ src/ Plugin/ Block/ ContextInspector.php, line 21
Class
- ContextInspector
- Provides a 'context inspector' block.
Namespace
Drupal\context_ui\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}