function pmperson_menu in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmperson/pmperson.module \pmperson_menu()
- 7.3 pmperson/pmperson.module \pmperson_menu()
- 7.2 pmperson/pmperson.module \pmperson_menu()
Implements hook_menu().
File
- pmperson/
pmperson.module, line 123
Code
function pmperson_menu() {
$items['pm/organization_people_js/%'] = array(
'title' => 'People',
'page callback' => '_pmperson_organization_people_js',
'page arguments' => array(
2,
),
'access callback' => TRUE,
'file' => 'pmperson.admin.inc',
'type' => MENU_CALLBACK,
);
$items['pm/pmperson_js'] = array(
'title' => 'Project Managementperson - User autocomplete',
'page callback' => 'pmperson_user_autocomplete',
'access callback' => 'user_access',
'access arguments' => array(
'access user profiles',
),
'type' => MENU_CALLBACK,
);
return $items;
}