function LanguageEditForm::form

Same name in other branches
  1. 8.9.x core/modules/language/src/Form/LanguageEditForm.php \Drupal\language\Form\LanguageEditForm::form()
  2. 10 core/modules/language/src/Form/LanguageEditForm.php \Drupal\language\Form\LanguageEditForm::form()
  3. 11.x core/modules/language/src/Form/LanguageEditForm.php \Drupal\language\Form\LanguageEditForm::form()

Overrides EntityForm::form

File

core/modules/language/src/Form/LanguageEditForm.php, line 25

Class

LanguageEditForm
Controller for language edit forms.

Namespace

Drupal\language\Form

Code

public function form(array $form, FormStateInterface $form_state) {
    $this->commonForm($form);
    return parent::form($form, $form_state);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.