NegotiationConfigureForm::__construct

public NegotiationConfigureForm::__construct(ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager, LanguageNegotiatorInterface $negotiator, BlockManagerInterface $block_manager, ThemeHandlerInterface $theme_handler, EntityStorageInterface $block_storage = NULL) Constructs a NegotiationConfigureForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\language\ConfigurableLanguageM

NegotiationConfigureForm::submitForm

public NegotiationConfigureForm::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/NegotiationConfigureForm.php, line 158 Class NegotiationConfigureForm Configure the selected language negotiation method for this site.

NegotiationConfigureForm::getFormId

public NegotiationConfigureForm::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/NegotiationConfigureForm.php, line 110 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code public function getFormId() { return 'language_negotiation_configure_form'; }

NegotiationConfigureForm::getEditableConfigNames

protected NegotiationConfigureForm::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/NegotiationConfigureForm.php, line 117 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal

NegotiationConfigureForm::disableLanguageSwitcher

protected NegotiationConfigureForm::disableLanguageSwitcher(array $language_types) Disables the language switcher blocks. Parameters array $language_types: An array containing all language types whose language switchers need to be disabled. File core/modules/language/src/Form/NegotiationConfigureForm.php, line 325 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code protected function disableLanguageSwitch

NegotiationConfigureForm::create

public static NegotiationConfigureForm::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

NegotiationConfigureForm::configureFormTable

protected NegotiationConfigureForm::configureFormTable(array &$form, $type) Builds a language negotiation method configuration table. Parameters array $form: The language negotiation configuration form. string $type: The language type to generate the table for. File core/modules/language/src/Form/NegotiationConfigureForm.php, line 216 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code protected funct

NegotiationConfigureForm::buildForm

public NegotiationConfigureForm::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/NegotiationConfigureForm.php, line 124 Class NegotiationConfigureForm Configure the selected language negotiati

NegotiationConfigureForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/language/src/Form/NegotiationConfigureForm.php, line 63 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code protected $themeHandler;

NegotiationConfigureForm::$negotiator

The language negotiator. Type: \Drupal\language\LanguageNegotiatorInterface File core/modules/language/src/Form/NegotiationConfigureForm.php, line 42 Class NegotiationConfigureForm Configure the selected language negotiation method for this site. Namespace Drupal\language\Form Code protected $negotiator;