NegotiationUrlForm::getEditableConfigNames

protected NegotiationUrlForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/language/src/Form/NegotiationUrlForm.php, line 58 Class NegotiationUrlForm Configure the URL language negotiation method for this site. Namespace Drupal\language\Form Code pro

NegotiationUrlForm::create

public static NegotiationUrlForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servi

NegotiationUrlForm::buildForm

public NegotiationUrlForm::buildForm(array $form, FormStateInterface $form_state) 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 ConfigFormBase::buildForm File core/modules/language/src/Form/NegotiationUrlForm.php, line 65 Class NegotiationUrlForm Configure the URL language negotiation method for this site.

NegotiationUrlForm::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/language/src/Form/NegotiationUrlForm.php, line 23 Class NegotiationUrlForm Configure the URL language negotiation method for this site. Namespace Drupal\language\Form Code protected $languageManager;

NegotiationUrlForm

Configure the URL language negotiation method for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\language\Form\NegotiationUrlForm File core/modules/language/src/Form/NegotiationUrlForm.php, line 16 Namespace Dr

NegotiationSelectedForm::submitForm

public NegotiationSelectedForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/language/src/Form/NegotiationSelectedForm.php, line 46 Class NegotiationSelectedForm Configure the selected language negotiation method for this site. Nam

NegotiationSelectedForm::getFormId

public NegotiationSelectedForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/language/src/Form/NegotiationSelectedForm.php, line 17 Class NegotiationSelectedForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code public function getFormId() { return 'language_negotiation_configure_selected_form'; }

NegotiationSelectedForm::getEditableConfigNames

protected NegotiationSelectedForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/language/src/Form/NegotiationSelectedForm.php, line 24 Class NegotiationSelectedForm Configure the selected language negotiation method for this site. Namespace Drupal\lan

NegotiationSelectedForm::buildForm

public NegotiationSelectedForm::buildForm(array $form, FormStateInterface $form_state) 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 ConfigFormBase::buildForm File core/modules/language/src/Form/NegotiationSelectedForm.php, line 31 Class NegotiationSelectedForm Configure the selected language negotiation m

NegotiationSelectedForm

Configure the selected language negotiation method for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\language\Form\NegotiationSelectedForm File core/modules/language/src/Form/NegotiationSelectedForm.php, line 12