public function LogController::create in Log entity 7
Implements EntityAPIControllerInterface.
Overrides EntityAPIController::create
File
- ./
log.class.inc, line 42 - Log classes.
Class
- LogController
- Log controller class.
Code
public function create(array $values = array()) {
global $user;
$values += array(
'id' => NULL,
'name' => '',
'type' => '',
'uid' => $user->uid,
'timestamp' => REQUEST_TIME,
'created' => REQUEST_TIME,
'changed' => REQUEST_TIME,
'done' => FALSE,
);
return parent::create($values);
}