diff options
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/book.module b/modules/book.module index 72b165795..f65af1a58 100644 --- a/modules/book.module +++ b/modules/book.module @@ -7,10 +7,10 @@ */ /** - * Implementation of hook_node_name(). + * Implementation of hook_node(). */ -function book_node_name($node) { - return t('book page'); +function book_node() { + return array('book' => array('name' => t('book page'), 'base' => 'book')); } /** |