function content_profile_registration_admin_form_submit in Content Profile 6
1 string reference to 'content_profile_registration_admin_form_submit'
- content_profile_registration_form_alter in modules/
content_profile_registration.module - Implementation of hook_form_alter().
File
- modules/
content_profile_registration.module, line 57 - Allows exposure and processing of content_profile node fields at user registration
Code
function content_profile_registration_admin_form_submit($form, &$form_state) {
$form_state['values']['registration_hide'] = array_keys(array_filter($form_state['values']['registration_hide']));
}