function uif_menu in User Import Framework 7
Same name and namespace in other branches
- 6 uif.module \uif_menu()
Implementation of hook_menu().
File
- ./
uif.module, line 18 - Simple, extensible user import from a CSV file.
Code
function uif_menu() {
$items = array();
$items['admin/people/uif'] = array(
'title' => 'Import',
'description' => 'Import or update users.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'uif_import_form',
),
'access arguments' => array(
'import users',
),
'file' => 'uif.admin.inc',
'type' => MENU_LOCAL_TASK,
);
// Configuration menu.
$items['admin/config/people/uif'] = array(
'title' => 'User Import Framework Settings',
'description' => 'Configuration page for User Import Framework.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'uif_configuration_page',
),
'access arguments' => array(
'access administration pages',
),
'file' => 'uif.admin.inc',
);
return $items;
}