You are here

function commerce_customer_ui_forms in Commerce Core 7

Implements hook_forms().

File

modules/customer/commerce_customer_ui.module, line 256

Code

function commerce_customer_ui_forms($form_id, $args) {
  $forms = array();

  // Define a wrapper ID for the customer profile add / edit form.
  $forms['commerce_customer_ui_customer_profile_form'] = array(
    'callback' => 'commerce_customer_customer_profile_form',
  );

  // Define a wrapper ID for the customer profile delete confirmation form.
  $forms['commerce_customer_ui_customer_profile_delete_form'] = array(
    'callback' => 'commerce_customer_customer_profile_delete_form',
  );
  return $forms;
}