poll_node_info
modules/poll/poll.module, строка 168
- Версии
- 5 – 6
poll_node_info()
Реализация hook_node_info()
.
Код
<?php
function poll_node_info() {
return array(
'poll' => array(
'name' => t('Poll'),
'module' => 'poll',
'description' => t('A <em>poll</em> is a question with a set of possible responses. A <em>poll</em>, once created, automatically provides a simple running count of the number of votes received for each response.'),
'title_label' => t('Question'),
'has_body' => FALSE,
)
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии