W3cubDocs

/Drupal 8

interface TranslatorInterface

Interface for objects capable of string translation.

Hierarchy

File

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

Namespace

Drupal\Core\StringTranslation\Translator

Members

Name Modifiers Type Description
TranslatorInterface::getStringTranslation public function Retrieves English string to given language.
TranslatorInterface::reset public function Resets translation cache.

© 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/interface/TranslatorInterface/8.1.x