You are here

public function CommercePricelistListController::create in Commerce Pricelist 7

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

includes/commerce_pricelist_list.controller.inc, line 19
Contains CommercePricelistListController.

Class

CommercePricelistListController
Handles CRUD for Pricelists.

Code

public function create(array $values = array()) {
  $values += array(
    'list_id' => 0,
    'weight' => 0,
    'title' => '',
    'status' => 1,
  );
  return parent::create($values);
}