You are here

function faq_node_info in Frequently Asked Questions 5.2

Same name and namespace in other branches
  1. 5 faq.module \faq_node_info()
  2. 6 faq.module \faq_node_info()
  3. 7 faq.module \faq_node_info()

Implementation of hook_node_info().

Defines the FAQ node/content type.

Return value

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

File

./faq.module, line 159
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'),
      'module' => 'faq',
      'description' => t('A frequently asked question and its answer.'),
    ),
  );
}