You are here

function book_theme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/book/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,
      ),
    ),
  );
}