Drupal 8  8.0.2
NegotiationBrowserForm Class Reference
Inheritance diagram for NegotiationBrowserForm:

Public Member Functions

 __construct (ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager)
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ConfigFormBase
 __construct (ConfigFactoryInterface $config_factory)
 
 buildForm (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 
- Static Public Member Functions inherited from ConfigFormBase
static create (ContainerInterface $container)
 

Protected Member Functions

 getEditableConfigNames ()
 
 language_get_browser_drupal_langcode_mappings ()
 

Protected Attributes

 $languageManager
 

Detailed Description

Configure the browser language negotiation method for this site.

Constructor & Destructor Documentation

__construct ( ConfigFactoryInterface  $config_factory,
ConfigurableLanguageManagerInterface  $language_manager 
)

{}

Parameters
\Drupal\Core\Extension\ModuleHandlerInterface$module_handlerThe module handler

References Drupal\languageManager().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

References Url\fromRoute(), NegotiationBrowserForm\language_get_browser_drupal_langcode_mappings(), Drupal\languageManager(), and t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

getEditableConfigNames ( )
protected

{}

getFormId ( )

{}

language_get_browser_drupal_langcode_mappings ( )
protected

Retrieves the browser's langcode mapping configuration array.

Returns
array The browser's langcode mapping configuration array.

References Drupal\config().

Referenced by NegotiationBrowserForm\buildForm().

Here is the call graph for this function:

Here is the caller graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), and FormStateInterface\get().

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References FormStateInterface\getValue(), FormStateInterface\hasValue(), FormStateInterface\set(), FormStateInterface\setErrorByName(), and t().

Here is the call graph for this function:


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