You are here

public function TMGMTJobController::save in Translation Management Tool 7

Implements EntityAPIControllerInterface.

Parameters

$transaction: Optionally a DatabaseTransaction object to use. Allows overrides to pass in their transaction object.

Overrides EntityAPIController::save

File

controller/tmgmt.controller.job.inc, line 18
Contains the job entity controller class.

Class

TMGMTJobController
Controller class for the job entity.

Code

public function save($entity, DatabaseTransaction $transaction = NULL) {
  $entity->changed = REQUEST_TIME;
  return parent::save($entity, $transaction);
}