You are here

public function ComputingApplicationController::create in Drupal Computing 7.2

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

./computing.entity.inc, line 202
Code for the entity. This does not allow UI to create Computing Record entities or Computing Application entities. It has to be done in program.

Class

ComputingApplicationController
The Controller for computing application entities

Code

public function create(array $values = array()) {

  // Add values that are specific to our Model
  $values += array(
    'id' => '',
    'is_new' => TRUE,
  );
  $computing_application = parent::create($values);
  return $computing_application;
}