function pcp_admin_settings in Profile Complete Percent 6
Same name and namespace in other branches
- 5 pcp.module \pcp_admin_settings()
- 6.2 pcp.module \pcp_admin_settings()
- 7 includes/pcp.admin.inc \pcp_admin_settings()
Menu Callback Function Build output of the pcp module settings which allows the administrator to tag specific profile fields which will be used to determine the completion of a users profile.
1 string reference to 'pcp_admin_settings'
- pcp_menu in ./
pcp.module - Implementation of hook_menu()
File
- ./
pcp.module, line 115 - 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_admin_settings() {
$header = t('Checking a profile field below will add that field to the logic of the complete percentage.');
$form = drupal_get_form('pcp_admin_settings_form');
return $header . $form;
}