public function TMGMTLocalTaskController::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
- translators/
tmgmt_local/ controller/ tmgmt_local.controller.task.inc, line 18 - Contains the task controller.
Class
- TMGMTLocalTaskController
- Controller class for the local task entity.
Code
public function save($entity, DatabaseTransaction $transaction = NULL) {
$entity->changed = REQUEST_TIME;
return parent::save($entity, $transaction);
}