function book_theme
Same name and namespace in other branches
- 6.x drupal-6.x/modules/book/book.module \book_theme()
Implements hook_theme().
Archivo
- drupal-7.x/
modules/ book/ book.module, line 38 - Allows users to create and organize related content in an outline.
Código
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',
),
);
}