You are here

function answers_node_info in Answers 6.2

Same name and namespace in other branches
  1. 5.2 answers.module \answers_node_info()
  2. 6 answers.features.inc \answers_node_info()
  3. 7.4 answers.module \answers_node_info()
  4. 7 answers.features.inc \answers_node_info()
  5. 7.2 answers.features.inc \answers_node_info()
  6. 7.3 answers.features.inc \answers_node_info()

Implementation of hook_node_info().

File

./answers.features.inc, line 16

Code

function answers_node_info() {
  $items = array(
    'answer' => array(
      'name' => t('Answer'),
      'module' => 'features',
      'description' => t('An answer provided to a member of the community to a question'),
      'has_title' => '1',
      'title_label' => t('Answer'),
      'has_body' => '1',
      'body_label' => t('Description'),
      'min_word_count' => '0',
      'help' => '',
    ),
    'question' => array(
      'name' => t('Question'),
      'module' => 'features',
      'description' => t('A question asked by a member of the community'),
      'has_title' => '1',
      'title_label' => t('Question'),
      'has_body' => '1',
      'body_label' => t('Description'),
      'min_word_count' => '0',
      'help' => '',
    ),
  );
  return $items;
}