function pcp_menu in Profile Complete Percent 6
Same name and namespace in other branches
- 5 pcp.module \pcp_menu()
- 6.2 pcp.module \pcp_menu()
- 7 pcp.module \pcp_menu()
Implementation of hook_menu()
File
- ./
pcp.module, line 22 - Allows users with valid permissions to tag profile fields created from the profile module as required fields for a users profile to be considered complete.
Code
function pcp_menu() {
$items = array();
$items['admin/user/pcp'] = array(
'title' => 'Profile Complete Percentages',
'description' => 'Tag profile fields as required for percent complete handling.',
'page callback' => 'pcp_admin_settings',
'access arguments' => array(
'administer pcp',
),
);
return $items;
}