function BookNavigationBlock::getCacheMaxAge

Same name in other branches
  1. 9 core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::getCacheMaxAge()
  2. 10 core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::getCacheMaxAge()
  3. 11.x core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::getCacheMaxAge()

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

File

core/modules/book/src/Plugin/Block/BookNavigationBlock.php, line 193

Class

BookNavigationBlock
Provides a 'Book navigation' block.

Namespace

Drupal\book\Plugin\Block

Code

public function getCacheMaxAge() {
    return 0;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.