You are here

function pcp_form_profile_field_delete_alter in Profile Complete Percent 6.2

Implementation of hook_form_FORM_ID_alter().

File

./pcp.module, line 118
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_form_profile_field_delete_alter(&$form, $form_state) {
  $form['#submit'][] = 'pcp_delete_field_requireness';
}