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

1
public function reset();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.