book_node_info
modules/book/book.module, строка 11
- Версии
- 5
book_node_info()
Реализация hook_node_info()
.
Код
<?php
function book_node_info() {
return array(
'book' => array(
'name' => t('Book page'),
'module' => 'book',
'description' => t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it."),
)
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии