function answers_node_info in Answers 7.4
Same name and namespace in other branches
- 5.2 answers.module \answers_node_info()
- 6.2 answers.features.inc \answers_node_info()
- 6 answers.features.inc \answers_node_info()
- 7 answers.features.inc \answers_node_info()
- 7.2 answers.features.inc \answers_node_info()
- 7.3 answers.features.inc \answers_node_info()
Implements hook_node_info().
File
- ./
answers.module, line 254 - The Answers module.
Code
function answers_node_info() {
return array(
'answers_question' => array(
'name' => t('!Question', answers_translation()),
'base' => 'answers',
'description' => t('A !question which can be !answer_submitted by other users.', answers_translation()),
'title_label' => t('Title'),
'locked' => TRUE,
),
'answers_answer' => array(
'name' => t('!Answer', answers_translation()),
'base' => 'answers',
'description' => t('An !answer provided to !question !question_submitted by a member of the community.', answers_translation()),
'has_title' => FALSE,
'locked' => TRUE,
),
);
}