You are here

function payment_title in Payment 7

Menu title callback: return a payment's title.

Parameters

Payment $payment:

Return value

string

1 string reference to 'payment_title'
payment_menu in ./payment.module
Implements hook_menu().

File

./payment.ui.inc, line 15
The Payment user interface.

Code

function payment_title(Payment $payment) {
  return t('Payment !pid', array(
    '!pid' => $payment->pid,
  ));
}