function commerce_addressbook_enable in Commerce Addressbook 7
Implements hook_enable().
File
- ./
commerce_addressbook.module, line 238 - :
Code
function commerce_addressbook_enable() {
// Add the saved profiles select field to customer profile bundles.
if (module_exists('commerce_customer')) {
foreach (commerce_customer_profile_types() as $type => $profile_type) {
commerce_addressbook_configure_customer_profile_type($profile_type);
}
}
}