Drupal 8  8.0.2
NegotiationUrlForm Class Reference
Inheritance diagram for NegotiationUrlForm:

Public Member Functions

 __construct (ConfigFactoryInterface $config_factory, LanguageManagerInterface $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 ()
 

Protected Attributes

 $languageManager
 

Detailed Description

Configure the URL language negotiation method for this site.

Constructor & Destructor Documentation

__construct ( ConfigFactoryInterface  $config_factory,
LanguageManagerInterface  $language_manager 
)

Constructs a new LanguageDeleteForm object.

Parameters
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe factory for configuration objects.
\Drupal\Core\Language\LanguageManagerInterface$language_managerThe language manager.

References Drupal\languageManager().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), LanguageNegotiationUrl\CONFIG_DOMAIN, LanguageNegotiationUrl\CONFIG_PATH_PREFIX, Drupal\languageManager(), FormStateInterface\setRedirect(), and t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

getEditableConfigNames ( )
protected

{}

getFormId ( )

{}

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

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

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), LanguageNegotiationUrl\CONFIG_DOMAIN, LanguageNegotiationUrl\CONFIG_PATH_PREFIX, FormStateInterface\getValue(), LanguageInterface\LANGCODE_SITE_DEFAULT, Drupal\languageManager(), FormStateInterface\setErrorByName(), and t().

Here is the call graph for this function:


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