You are here

public function DropdownLanguage::getCacheMaxAge in Dropdown Language 3.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::getCacheMaxAge()
  2. 8 src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::getCacheMaxAge()
  3. 8.2 src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::getCacheMaxAge()

Overrides ContextAwarePluginTrait::getCacheMaxAge

File

src/Plugin/Block/DropdownLanguage.php, line 312

Class

DropdownLanguage
Provides an alternative language switcher block.

Namespace

Drupal\dropdown_language\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}