faq.inc in Node import 6
Support for the Faq module.
File
supported/faq/faq.incView source
<?php
/**
* @file
* Support for the Faq module.
*/
/**
* Implementation of hook_node_import_fields().
*/
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;
}
Functions
Name | Description |
---|---|
faq_node_import_fields | Implementation of hook_node_import_fields(). |