function book_theme
Same name in other branches
- 9 core/modules/book/book.module \book_theme()
- 8.9.x core/modules/book/book.module \book_theme()
- 10 core/modules/book/book.module \book_theme()
- 11.x core/modules/book/book.module \book_theme()
Implements hook_theme().
File
-
modules/
book/ book.module, line 38
Code
function book_theme() {
return array(
'book_navigation' => array(
'variables' => array(
'book_link' => NULL,
),
'template' => 'book-navigation',
),
'book_export_html' => array(
'variables' => array(
'title' => NULL,
'contents' => NULL,
'depth' => NULL,
),
'template' => 'book-export-html',
),
'book_admin_table' => array(
'render element' => 'form',
),
'book_title_link' => array(
'variables' => array(
'link' => NULL,
),
),
'book_all_books_block' => array(
'render element' => 'book_menus',
'template' => 'book-all-books-block',
),
'book_node_export_html' => array(
'variables' => array(
'node' => NULL,
'children' => NULL,
),
'template' => 'book-node-export-html',
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.