8.5.x book.module book_theme()
8.0.x book.module book_theme()
8.1.x book.module book_theme()
8.2.x book.module book_theme()
8.3.x book.module book_theme()
8.4.x book.module book_theme()
8.6.x book.module book_theme()
6.x book.module book_theme()
7.x book.module book_theme()

Implements hook_theme().

File

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

Code

function book_theme() {
  return array(
    'book_navigation' => array(
      'variables' => array(
        'book_link' => NULL,
      ),
    ),
    'book_tree' => array(
      'variables' => array(
        'items' => array(),
        'attributes' => array(),
      ),
    ),
    'book_export_html' => array(
      'variables' => array(
        'title' => NULL,
        'contents' => NULL,
        'depth' => NULL,
      ),
    ),
    'book_all_books_block' => array(
      'render element' => 'book_menus',
    ),
    'book_node_export_html' => array(
      'variables' => array(
        'node' => NULL,
        'content' => NULL,
        'children' => NULL,
      ),
    ),
  );
}