function faq_node_info in Frequently Asked Questions 7
Same name and namespace in other branches
- 5.2 faq.module \faq_node_info()
- 5 faq.module \faq_node_info()
- 6 faq.module \faq_node_info()
Implements hook_node_info().
Defines the FAQ node/content type.
Return value
array An array, containing the title, module name and the description.
File
- ./faq.module, line 191 
- The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.
Code
function faq_node_info() {
  return array(
    'faq' => array(
      'name' => t('FAQ'),
      'base' => 'faq',
      'description' => t('A frequently asked question and its answer.'),
      'has_title' => TRUE,
      'title_label' => t('Question'),
    ),
  );
}