function simpleanswer_node_info in Answers 5.2
Implementation of hook_node_info().
File
- simpleanswer/
simpleanswer.module, line 29 - Adds a simple form to post a response/answer to questions using the answers module. This module does not display its content directly and requires the answers module to show its content.
Code
function simpleanswer_node_info() {
return array(
'simpleanswer' => array(
'name' => t('Simple Answer'),
'module' => 'simpleanswer',
'description' => t("Enables the creation of responses to questions."),
'has_title' => FALSE,
'has_body' => TRUE,
'body_label' => t('Answer'),
),
);
}