public function LanguageNegotiatorInterface::updateConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::updateConfiguration()
- 9 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.
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);