You are here

public function LanguageNegotiatorInterface::updateConfiguration in Drupal 8

Same name and namespace in other branches
  1. 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.

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);