You are here

public function LanguageBlock::getCacheMaxAge in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Plugin/Block/LanguageBlock.php \Drupal\language\Plugin\Block\LanguageBlock::getCacheMaxAge()

@todo Make cacheable in https://www.drupal.org/node/2232375.

Overrides ContextAwarePluginBase::getCacheMaxAge

File

core/modules/language/src/Plugin/Block/LanguageBlock.php, line 117
Contains \Drupal\language\Plugin\Block\LanguageBlock.

Class

LanguageBlock
Provides a 'Language switcher' block.

Namespace

Drupal\language\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}