public function LogController::save in Log entity 7
Implements EntityAPIControllerInterface.
Parameters
$transaction: Optionally a DatabaseTransaction object to use. Allows overrides to pass in their transaction object.
Overrides EntityAPIController::save
File
- ./
log.class.inc, line 60 - Log classes.
Class
- LogController
- Log controller class.
Code
public function save($entity, DatabaseTransaction $transaction = NULL) {
// Set the changed timestamp when a log entity is saved.
$entity->changed = REQUEST_TIME;
return parent::save($entity, $transaction);
}