public function TranslatorInterface::reset

Resets translation cache.

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

3 methods override TranslatorInterface::reset()

File

drupal/core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php, line 36
Contains \Drupal\Core\StringTranslation\Translator\TranslationInterface.

Class

TranslatorInterface
Interface for objects capable of string translation.

Namespace

Drupal\Core\StringTranslation\Translator

Code

public function reset();