book_theme
modules/book/book.module, строка 11
- Версии
- 6
book_theme()
Реализация hook_theme()
.
Код
<?php
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',
),
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии