1 locale.module | locale_form_language_admin_add_form_alter(&$form, &$form_state) |
Implements hook_form_FORM_ID_alter() for language_admin_add_form(().
File
- core/
modules/ locale/ locale.module, line 982 - Add language handling functionality and enables the translation of the user interface to languages other than English.
Code
function locale_form_language_admin_add_form_alter(&$form, &$form_state) {
$form['predefined_submit']['#submit'][] = 'locale_form_language_admin_add_form_alter_submit';
$form['custom_language']['submit']['#submit'][] = 'locale_form_language_admin_add_form_alter_submit';
}