You are here

public function ShareMessageController::create in Share Message 7

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

includes/sharemessage.ui.inc, line 13
Definition of ShareMessageController and ShareMessageUIController classes.

Class

ShareMessageController
Controller class for the ShareMessage entity.

Code

public function create(array $values = array()) {
  $values += array(
    'created' => REQUEST_TIME,
    'changed' => REQUEST_TIME,
  );
  return parent::create($values);
}