You are here

function new_faq_node_info in Frequently Asked Questions 7.2

Implements hook_node_info().

@todo move this to content type feature

Defines the FAQ node/content type.

Return value

array An array, containing the title, module name and the description.

File

./faq.module, line 203
The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Code

function new_faq_node_info() {
  return array(
    'faq' => array(
      'name' => t('FAQ'),
      'base' => 'faq',
      'description' => t('A frequently asked question and its answer.'),
      'title_label' => t('Question'),
    ),
  );
}