book_theme

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),
    ),
  );
}
doc_Drupal
2016-10-29 08:48:38
Comments
Leave a Comment

Please login to continue.