1 book.module book_block_info()

Implements hook_block_info().

File

core/modules/book/book.module, line 248
Allows users to create and organize related content in an outline.

Code

function book_block_info() {
  $blocks['navigation'] = array(
    'info' => t('Book navigation'),
    'description' => t('Shows the table of contents expanded to the current page if viewing book content.'),
    'cache' => BACKDROP_CACHE_PER_PAGE | BACKDROP_CACHE_PER_ROLE,
  );

  return $blocks;
}