function commerce_addressbook_forms in Commerce Addressbook 7.3
Same name and namespace in other branches
- 7.2 commerce_addressbook.module \commerce_addressbook_forms()
Implements hook_forms().
File
- ./
commerce_addressbook.module, line 426 - Defines addressbook functionality for customer profiles, allowing them to be reused and managed on a per-user basis.
Code
function commerce_addressbook_forms() {
$forms = array();
// Define a wrapper ID for the customer profile form used by addressbook.
$forms['commerce_addressbook_customer_profile_form'] = array(
'callback' => 'commerce_customer_customer_profile_form',
);
return $forms;
}