public function FarmAssetTypeController::create in farmOS 7
Implements EntityAPIControllerInterface.
Overrides EntityAPIController::create
File
- modules/
farm/ farm_asset/ farm_asset.class.inc, line 95 - Farm asset classes.
Class
- FarmAssetTypeController
- Farm asset type controller class.
Code
public function create(array $values = array()) {
$values += array(
'id' => NULL,
'type' => '',
'label' => '',
);
return parent::create($values);
}