function language_admin_edit_form

Editing screen for a particular language.

Parameters

$langcode: Language code of the language to edit.

1 string reference to 'language_admin_edit_form'
language_menu in drupal/core/modules/language/language.module
Implements hook_menu().

File

drupal/core/modules/language/language.admin.inc, line 208
Administration functions for 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;
}