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 (); } |
Please login to continue.