function uc_addresses_hook_info in Ubercart Addresses 7
Implements hook_hook_info().
Declares available hooks invoked by this module.
Return value
array A list of hooks.
File
- ./
uc_addresses.module, line 277 - Adds user profile address support to Ubercart.
Code
function uc_addresses_hook_info() {
$hooks = array(
'uc_addresses_field_handlers',
'uc_addresses_fields',
'uc_addresses_fields_alter',
'uc_addresses_preprocess_address_alter',
'uc_addresses_address_load',
'uc_addresses_order_load',
'uc_addresses_address_presave',
'uc_addresses_address_insert',
'uc_addresses_address_update',
'uc_addresses_address_delete',
'uc_addresses_address_update',
'uc_addresses_may_view',
'uc_addresses_may_edit',
'uc_addresses_may_delete',
'uc_addresses_select_addresses',
'uc_addresses_select_addresses_alter',
);
$return = array();
foreach ($hooks as $hook) {
$return[$hook] = array(
'group' => 'uc_addresses',
);
}
return $return;
}