You are here

function pcp_menu in Profile Complete Percent 6

Same name and namespace in other branches
  1. 5 pcp.module \pcp_menu()
  2. 6.2 pcp.module \pcp_menu()
  3. 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;
}