You are here

public function FarmPlanTypeController::create in farmOS 7

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

modules/farm/farm_plan/farm_plan.class.inc, line 95
Farm plan classes.

Class

FarmPlanTypeController
Farm plan type controller class.

Code

public function create(array $values = array()) {
  $values += array(
    'id' => NULL,
    'type' => '',
    'label' => '',
  );
  return parent::create($values);
}