function commerce_addressbook_profile_edit_title in Commerce Addressbook 7.3
Title callback for profile edit page.
Parameters
$type: Machine name of customer profile type.
Return value
string Translatable page title.
1 string reference to 'commerce_addressbook_profile_edit_title'
- commerce_addressbook_menu in ./
commerce_addressbook.module - Implements hook_menu().
File
- ./
commerce_addressbook.module, line 111 - Defines addressbook functionality for customer profiles, allowing them to be reused and managed on a per-user basis.
Code
function commerce_addressbook_profile_edit_title($type) {
return t('Edit @type profile', array(
'@type' => str_replace('_', ' ', $type),
));
}