You are here

function upload_node_import_fields in Node import 5

Same name and namespace in other branches
  1. 6 supported/upload.inc \upload_node_import_fields()

Implementation of hook_node_import_fields().

File

supported/upload.inc, line 11
Support for upload module.

Code

function upload_node_import_fields($type) {
  $items = array();
  if (variable_get('upload_' . $type, 1)) {
    $items['node_import_files'] = t('Upload: File attachments');
  }
  return $items;
}