You are here

function user_import_preferences in User Import 5

Same name and namespace in other branches
  1. 8 user_import.admin.inc \user_import_preferences()
  2. 5.2 user_import.module \user_import_preferences()
  3. 6.4 user_import.admin.inc \user_import_preferences()
  4. 6.2 user_import.admin.inc \user_import_preferences()
  5. 7.3 user_import.admin.inc \user_import_preferences()
  6. 7 user_import.admin.inc \user_import_preferences()
  7. 7.2 user_import.admin.inc \user_import_preferences()
1 string reference to 'user_import_preferences'
user_import_menu in ./user_import.module
Implementation of hook_menu().

File

./user_import.module, line 668
Import users from a comma separated file (csv).

Code

function user_import_preferences($import_id = NULL, $template_id = NULL) {
  if (empty($import_id)) {
    $output .= drupal_get_form('user_import_add_form');
  }
  else {
    $output .= drupal_get_form('user_import_edit_form', $import_id, $template_id);
  }
  return $output;
}