function LanguageNegotiatorInterface::updateConfiguration
Same name in other branches
- 9 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()
- 10 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()
- 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\languageCode
public function updateConfiguration(array $types);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.