public function TranslatorInterface::reset

public TranslatorInterface::reset()

Resets translation cache.

Since most translation systems implement some form of caching, this provides a way to delete that cache.

File

core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php, line 31

Class

TranslatorInterface
Interface for objects capable of string translation.

Namespace

Drupal\Core\StringTranslation\Translator

Code

public function reset();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StringTranslation!Translator!TranslatorInterface.php/function/TranslatorInterface::reset/8.1.x