function hook_commerce_addressbook_set_default in Commerce Addressbook 7.2
Allow modules to be called when a default address is added/updated.
Parameters
$customer_profile: The customer profile set as default.
See also
commerce_addressbook_set_default_profile().
1 invocation of hook_commerce_addressbook_set_default()
- commerce_addressbook_set_default_profile in ./
commerce_addressbook.module - Find an existing default for a given user, for a given profile type and update it to a new profile, or set it if a default is not already set.
File
- ./
commerce_addressbook.api.php, line 57 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_commerce_addressbook_set_default($customer_profile) {
// No example.
}