1.20.x book.module book_theme()

Implements hook_theme().

File

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

Code

function book_theme() {
  $base = array(
    'file' => 'book.theme.inc',
  );

  return array(
    'book_navigation' => array(
      'variables' => array('book_link' => NULL),
      'template' => 'templates/book-navigation',
    ) + $base,
    'book_admin_table' => array(
      'render element' => 'form',
    ) + $base,
    'book_title_link' => array(
      'variables' => array('link' => NULL),
    ) + $base,
    'book_all_books_block' => array(
      'render element' => 'book_menus',
      'template' => 'templates/book-all-books-block',
    ) + $base,
  );
}