You are here

function book_theme in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/book/book.module \book_theme()
  2. 7 modules/book/book.module \book_theme()
  3. 9 core/modules/book/book.module \book_theme()

Implementation of hook_theme()

File

modules/book/book.module, line 11
Allows users to structure the pages of a site in a hierarchy or outline.

Code

function book_theme() {
  return array(
    'book_navigation' => array(
      'arguments' => array(
        'book_link' => NULL,
      ),
      'template' => 'book-navigation',
    ),
    'book_export_html' => array(
      'arguments' => array(
        'title' => NULL,
        'contents' => NULL,
        'depth' => NULL,
      ),
      'template' => 'book-export-html',
    ),
    'book_admin_table' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'book_title_link' => array(
      'arguments' => array(
        'link' => NULL,
      ),
    ),
    'book_all_books_block' => array(
      'arguments' => array(
        'book_menus' => array(),
      ),
      'template' => 'book-all-books-block',
    ),
    'book_node_export_html' => array(
      'arguments' => array(
        'node' => NULL,
        'children' => NULL,
      ),
      'template' => 'book-node-export-html',
    ),
  );
}