function party_profile_form_profile2_type_form_alter in Party 8.2
Same name and namespace in other branches
- 7 modules/party_profile/party_profile.module \party_profile_form_profile2_type_form_alter()
Implements hook_form_FORM_ID_alter
File
- modules/
party_profile/ party_profile.module, line 83 - Support for configurable user profiles which are not attached to users.
Code
function party_profile_form_profile2_type_form_alter(&$form, &$form_state) {
unset($form['data']['registration']);
$form['registration'] = array();
}