You are here

function new_faq_field_extra_fields in Frequently Asked Questions 7.2

Implements hook_field_extra_fields().

File

./faq.module, line 261
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_field_extra_fields() {
  $extra['node']['faq'] = array(
    'form' => array(
      'detailed_question' => array(
        'label' => t('Question details'),
        'description' => t('Longer question text'),
        'weight' => -5,
      ),
    ),
  );
  return $extra;
}