function commerce_payment_ui_payment_transaction_title in Commerce Core 7
Menu item title callback: returns the transaction ID for its pages.
Parameters
$transaction: The transaction object as loaded via the URL wildcard.
Return value
A page title of the format "Transaction ##".
1 string reference to 'commerce_payment_ui_payment_transaction_title'
- commerce_payment_ui_menu in modules/
payment/ commerce_payment_ui.module - Implements hook_menu().
File
- modules/
payment/ commerce_payment_ui.module, line 91 - Default Payment UI for Drupal Commerce.
Code
function commerce_payment_ui_payment_transaction_title($transaction) {
return t('Transaction @transaction_id', array(
'@transaction_id' => $transaction->transaction_id,
));
}