You are here

public function BiblioController::create in Bibliography Module 7.2

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

includes/biblio.controller.inc, line 20

Class

BiblioController
Biblio controller class

Code

public function create(array $sent_values = array()) {
  global $user;
  $values = array(
    'bid' => '',
    'publication_type' => $sent_values['publication_type'],
    'created' => REQUEST_TIME,
    'changed' => '',
    'uid' => $user->uid,
  );
  $values += $sent_values;
  return parent::create($values);
}