You are here

function uif_options_users_to_preview in User Import Framework 7

Users to preview options.

Return value

array

2 calls to uif_options_users_to_preview()
uif_configuration_page in ./uif.admin.inc
User Import Framework configuration page.
uif_import_form in ./uif.admin.inc
User import multi-part form.

File

./uif.admin.inc, line 703
Simple, extensible user import from a CSV file.

Code

function uif_options_users_to_preview() {
  $preview_count = drupal_map_assoc(array(
    0,
    1,
    10,
    100,
    1000,
    10000,
    9999999,
  ));
  $preview_count[0] = t('None - just do it');
  $preview_count[9999999] = t('Preview all');
  return $preview_count;
}