LanguageNegotiator::reset

public LanguageNegotiator::reset()

Resets the negotiated languages and the method instances.

Overrides LanguageNegotiatorInterface::reset

File

core/modules/language/src/LanguageNegotiator.php, line 107

Class

LanguageNegotiator
Class responsible for performing language negotiation.

Namespace

Drupal\language

Code

1
2
3
4
public function reset() {
  $this->negotiatedLanguages = array();
  $this->methods = array();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.