function SwitchUserBlock::getCacheMaxAge
Same name in other branches
- 5.x src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::getCacheMaxAge()
Overrides ContextAwarePluginTrait::getCacheMaxAge
File
-
src/
Plugin/ Block/ SwitchUserBlock.php, line 146
Class
- SwitchUserBlock
- Provides a block for switching users.
Namespace
Drupal\devel\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}