You are here

public function TMGMTTranslator::clearLanguageCache in Translation Management Tool 7

Clears the language cache for this translator.

File

entity/tmgmt.entity.translator.inc, line 169

Class

TMGMTTranslator
Entity class for the tmgmt_translator entity.

Code

public function clearLanguageCache() {
  cache_clear_all('languages:' . $this->name, 'cache_tmgmt');
  cache_clear_all('language_pairs:' . $this->name, 'cache_tmgmt');
}