1 language.admin.inc language_admin_edit_form($form, &$form_state, $language)

Configuration screen for a particular language.

Parameters

$langcode: Language code of the language to edit.

File

core/modules/language/language.admin.inc, line 168
Admin page callbacks for the Language module.

Code

function language_admin_edit_form($form, &$form_state, $language) {
  _language_admin_common_controls($form, $language);
  $form['actions'] = array('#type' => 'actions');
  $form['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save language')
  );
  $form['#submit'][] = 'language_admin_edit_form_submit';
  $form['#validate'][] = 'language_admin_edit_form_validate';
  return $form;
}