function LanguageNegotiatorInterface::saveConfiguration
Same name in other branches
- 8.9.x core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::saveConfiguration()
- 10 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::saveConfiguration()
- 11.x core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::saveConfiguration()
Saves a list of language negotiation methods for a language type.
Parameters
string $type: The language type.
int[] $enabled_methods: An array of language negotiation method weights keyed by method ID.
1 method overrides LanguageNegotiatorInterface::saveConfiguration()
- LanguageNegotiator::saveConfiguration in core/
modules/ language/ src/ LanguageNegotiator.php - Saves a list of language negotiation methods for a language type.
File
-
core/
modules/ language/ src/ LanguageNegotiatorInterface.php, line 189
Class
- LanguageNegotiatorInterface
- Common interface for language negotiation services.
Namespace
Drupal\languageCode
public function saveConfiguration($type, $enabled_methods);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.