function LanguageNegotiatorInterface::updateConfiguration

Same name in other branches
  1. 8.9.x core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()
  2. 10 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()
  3. 11.x core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()

Updates the configuration based on the given language types.

Stores the list of the language types along with information about their configurable state. Stores the default settings if the language type is not configurable.

Parameters

string[] $types: An array of configurable language types.

1 method overrides LanguageNegotiatorInterface::updateConfiguration()
LanguageNegotiator::updateConfiguration in core/modules/language/src/LanguageNegotiator.php
Updates the configuration based on the given language types.

File

core/modules/language/src/LanguageNegotiatorInterface.php, line 206

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function updateConfiguration(array $types);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.