function answers_node_info in Answers 7
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.4 answers.module \answers_node_info()
- 7.2 answers.features.inc \answers_node_info()
- 7.3 answers.features.inc \answers_node_info()
Implementation of hook_node_info().
File
- ./
answers.features.inc, line 30 - answers.features.inc
Code
function answers_node_info() {
$items = array(
'answer' => array(
'name' => t('Answer'),
'base' => 'node_content',
'description' => t('An answer provided to question asked by a member of the community'),
'has_title' => '1',
'title_label' => t('Answer'),
'help' => '',
),
'question' => array(
'name' => t('Question'),
'base' => 'node_content',
'description' => t('A question which can be answered by other users'),
'has_title' => '1',
'title_label' => t('Question'),
'help' => '',
),
);
return $items;
}