You are here

function commerce_pricelist_list_add in Commerce Pricelist 7

Provides a wrapper on the edit form to add a new entity.

1 string reference to 'commerce_pricelist_list_add'
commerce_pricelist_menu in ./commerce_pricelist.module
Implements hook_menu().

File

includes/commerce_pricelist.admin.inc, line 127
Summary

Code

function commerce_pricelist_list_add() {
  $entity = commerce_pricelist_list_new();
  return drupal_get_form('commerce_pricelist_list_form', $entity);
}