You are here

public function BookNavigationBlock::getCacheMaxAge in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::getCacheMaxAge()
  2. 9 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 195

Class

BookNavigationBlock
Provides a 'Book navigation' block.

Namespace

Drupal\book\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}