function commerce_addressbook_entity_info_alter in Commerce Addressbook 7.3
Same name and namespace in other branches
- 7.2 commerce_addressbook.module \commerce_addressbook_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
commerce_addressbook.module, line 416 - Defines addressbook functionality for customer profiles, allowing them to be reused and managed on a per-user basis.
Code
function commerce_addressbook_entity_info_alter(&$info) {
$info['commerce_customer_profile']['view modes']['addressbook'] = array(
'label' => t('Addressbook'),
'custom settings' => FALSE,
);
}