public function NegotiationBrowserDeleteForm::buildForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 60 - Contains \Drupal\language\Form\NegotiationBrowserDeleteForm.
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;
}