public function SwitchUserBlock::getCacheMaxAge in Devel 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::getCacheMaxAge()
- 8 src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::getCacheMaxAge()
- 8.2 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;
}