function pcp_menu in Profile Complete Percent 7
Same name and namespace in other branches
- 5 pcp.module \pcp_menu()
- 6.2 pcp.module \pcp_menu()
- 6 pcp.module \pcp_menu()
Implements hook_menu().
File
- ./
pcp.module, line 36 - Allows users with valid permissions to tag profile fields (core fields or Profile2 fields) for a users profile to be considered complete.
Code
function pcp_menu() {
$items['admin/config/people/pcp'] = array(
'title' => 'Profile Complete Percentages',
'description' => 'Tag profile fields as required for percent complete handling.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'pcp_admin_settings',
),
'access arguments' => array(
'administer pcp',
),
'file' => 'pcp.admin.inc',
'file path' => drupal_get_path('module', 'pcp') . '/includes',
'weight' => 10,
);
return $items;
}