You are here

function faq_node_import_fields in Node import 6

Implementation of hook_node_import_fields().

File

supported/faq/faq.inc, line 11
Support for the Faq module.

Code

function faq_node_import_fields($type) {
  $fields = array();
  if (($node_type = node_import_type_is_node($type)) !== FALSE && $node_type == 'faq') {
    $fields['detailed_question'] = array(
      'title' => t('Question details (optional)'),
    );
  }
  return $fields;
}