function autoassignrole_menu in Auto Assign Role 5.2
Same name and namespace in other branches
- 5 autoassignrole.module \autoassignrole_menu()
- 6.2 autoassignrole.module \autoassignrole_menu()
- 6 autoassignrole.module \autoassignrole_menu()
- 7.2 autoassignrole.module \autoassignrole_menu()
- 7 autoassignrole.module \autoassignrole_menu()
Implementation of hook_menu().
Return value
array
File
- ./
autoassignrole.module, line 16
Code
function autoassignrole_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/user/autoassignrole',
'title' => t('Auto assign role'),
'description' => t('Auto Assign Role Settings.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'autoassignrole_settings',
'access' => user_access('administer autoassignrole'),
);
}
return $items;
}