locale_form_language_admin_add_form_alter(&$form, FormStateInterface $form_state)
Implements hook_form_FORM_ID_alter() for language_admin_add_form().
File
- core/modules/locale/locale.module, line 675
- Enables the translation of the user interface to languages other than English.
Code
function locale_form_language_admin_add_form_alter(&$form, FormStateInterface $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'; }
Please login to continue.