function commons_q_a_node_info in Drupal Commons 7.3
Implements hook_node_info().
File
- modules/
commons/ commons_q_a/ commons_q_a.features.inc, line 93 - commons_q_a.features.inc
Code
function commons_q_a_node_info() {
$items = array(
'answer' => array(
'name' => t('Answer'),
'base' => 'node_content',
'description' => t('Use answers for responses to Question content, which can be rated by user votes.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'question' => array(
'name' => t('Question'),
'base' => 'node_content',
'description' => t('Ask a question to receive answers from other community members'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
return $items;
}