You are here

public function LanguageNegotiatorInterface::saveConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/LanguageNegotiatorInterface.php \Drupal\language\LanguageNegotiatorInterface::saveConfiguration()
  2. 9 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.

File

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

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function saveConfiguration($type, $enabled_methods);