Drupal 8  8.0.2
NegotiationBrowserDeleteForm Class Reference
Inheritance diagram for NegotiationBrowserDeleteForm:

Public Member Functions

 getQuestion ()
 
 getCancelUrl ()
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state, $browser_langcode=NULL)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ConfirmFormBase
 getDescription ()
 
 getConfirmText ()
 
 getCancelText ()
 
 getFormName ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
- Public Member Functions inherited from FormInterface
 validateForm (array &$form, FormStateInterface $form_state)
 

Protected Member Functions

 getEditableConfigNames ()
 

Protected Attributes

 $browserLangcode
 

Detailed Description

Defines a confirmation form for deleting a browser language negotiation mapping.

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state,
  $browser_langcode = NULL 
)

{}

getCancelUrl ( )

{Returns the route to go to if the user cancels the action.

Returns
A URL object.
}

Implements ConfirmFormInterface.

getEditableConfigNames ( )
protected

{}

getFormId ( )

{Returns a unique string identifying the form.

Returns
string The unique string identifying the form.
}

Implements FormInterface.

getQuestion ( )

{Returns the question to ask the user.

Returns
string The form question. The page title will be set to this value.
}

Implements ConfirmFormInterface.

References t().

Here is the call graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{Form submission handler.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
}

Implements FormInterface.

References Drupal\config(), Drupal\logger(), FormStateInterface\setRedirect(), and t().

Here is the call graph for this function:


The documentation for this class was generated from the following file: