i18nprofile_form_alter(&$form, $form_state, $form_id)
contributions/i18n/i18nprofile/i18nprofile.module, line 112
Implementation of hook_form_alter()
<?php
function i18nprofile_form_alter(&$form, $form_state, $form_id) {
switch ($form_id) {
case 'profile_field_form':
$form['#submit'][] = 'i18nprofile_field_form_submit';
break;
case 'user_profile_form':
if (($category = $form['_category']['#value']) && $category != 'account') {
i18nprofile_form_translate_category($form, $category);
}
break;
/*
elseif ($form_id == 'user_register') {
i18nprofile_form_translate_all($form_id, $form);
}
*/
break;
}
}
?>