function node_import_settings in Node import 5
Menu callback: settings page.
1 string reference to 'node_import_settings'
- node_import_menu in ./
node_import.module - Implementation of hook_menu().
File
- ./
node_import.module, line 69 - This modules provides a wizard at "administer >> content >> import" to import a CSV file with nodes.
Code
function node_import_settings() {
$form = array();
$form['node_import_csv_separator'] = array(
'#type' => 'textfield',
'#size' => 6,
'#title' => t('Field separator symbol'),
'#description' => t('Enter the symbol that separates fields in your CSV files. Default: comma [,].'),
'#default_value' => variable_get('node_import_csv_separator', ','),
);
$form['node_import_csv_qualifier'] = array(
'#type' => 'textfield',
'#size' => 6,
'#title' => t('Text qualifier symbol'),
'#description' => t('Enter the symbol that wraps text fields in your CSV files. Default: double-quotation marks ["].'),
'#default_value' => variable_get('node_import_csv_qualifier', '"'),
);
return system_settings_form($form);
}