You are here

function commerce_customer_ui_customer_profile_title in Commerce Core 7

Menu item title callback: returns the ID of a customer profile for its pages.

Parameters

$profile: The customer profile object as loaded via the URL wildcard.

Return value

A page title of the format "Profile [profile-id]".

1 string reference to 'commerce_customer_ui_customer_profile_title'
commerce_customer_ui_menu in modules/customer/commerce_customer_ui.module
Implements hook_menu().

File

modules/customer/commerce_customer_ui.module, line 99

Code

function commerce_customer_ui_customer_profile_title($profile) {
  return t('Customer profile @profile_id', array(
    '@profile_id' => $profile->profile_id,
  ));
}