function SwitchUserBlock::getCacheMaxAge

Same name in other branches
  1. 4.x src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::getCacheMaxAge()

Overrides ContextAwarePluginTrait::getCacheMaxAge

File

src/Plugin/Block/SwitchUserBlock.php, line 110

Class

SwitchUserBlock
Provides a block for switching users.

Namespace

Drupal\devel\Plugin\Block

Code

public function getCacheMaxAge() : int {
    return 0;
}