public function NegotiationBrowserDeleteForm::buildForm in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfirmFormBase::buildForm
File
- core/
modules/ language/ src/ Form/ NegotiationBrowserDeleteForm.php, line 56
Class
- NegotiationBrowserDeleteForm
- Defines a confirmation form for deleting a browser language negotiation mapping.
Namespace
Drupal\language\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $browser_langcode = NULL) {
$this->browserLangcode = $browser_langcode;
$form = parent::buildForm($form, $form_state);
return $form;
}