function NegotiationBrowserDeleteForm::buildForm
Same name in other branches
- 9 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::buildForm()
- 8.9.x core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::buildForm()
- 10 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::buildForm()
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.