function i18n_contact_form_contact_category_edit_form_alter in Internationalization 7
Implements hook_form_FORM_ID_alter().
File
- i18n_contact/
i18n_contact.module, line 40 - Internationalization (i18n) submodule: Multilingual contact forms
Code
function i18n_contact_form_contact_category_edit_form_alter(&$form, &$form_state) {
$form['actions']['translate'] = array(
'#type' => 'submit',
'#name' => 'save_translate',
'#value' => t('Save and translate'),
);
$form['#submit'][] = 'i18n_contact_form_contact_category_edit_form_submit';
}