You are here

public function TMGMTTranslatorController::save in Translation Management Tool 7

Overridden to care exportables that are overridden.

Overrides EntityAPIControllerExportable::save

File

controller/tmgmt.controller.translator.inc, line 56
Contains the translator controller class.

Class

TMGMTTranslatorController
Controller class for the job entity.

Code

public function save($entity, DatabaseTransaction $transaction = NULL) {
  $return = parent::save($entity, $transaction);

  // Clear the languages cache.
  cache_clear_all('language:' . $entity->name, 'cache_tmgmt');
  return $return;
}