You are here

public function LanguageEditForm::form in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/Form/LanguageEditForm.php \Drupal\language\Form\LanguageEditForm::form()

Gets the actual form array to be built.

Overrides EntityForm::form

See also

\Drupal\Core\Entity\EntityForm::processForm()

\Drupal\Core\Entity\EntityForm::afterBuild()

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);
}