public function LanguageEditForm::form in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/Form/LanguageEditForm.php \Drupal\language\Form\LanguageEditForm::form()
- 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\FormCode
public function form(array $form, FormStateInterface $form_state) {
$this
->commonForm($form);
return parent::form($form, $form_state);
}