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

public function reset() {
  $this->negotiatedLanguages = array();
  $this->methods = array();
}
doc_Drupal
2016-10-29 09:22:53
Comments
Leave a Comment

Please login to continue.