You are here

function pay_transaction_action_title in Pay 7

Same name and namespace in other branches
  1. 6 pay.module \pay_transaction_action_title()

Title callback for a page that effects a payment transaction action.

1 string reference to 'pay_transaction_action_title'
pay_menu_menu in includes/pay.menu.inc
Implementation of hook_menu().

File

./pay.module, line 627
Pay module allows for accepting payments using pluggable payment backends.

Code

function pay_transaction_action_title($pay_transaction, $action) {
  if ($info = $pay_transaction
    ->valid_actions($action)) {
    return t('@title transaction', array(
      '@title' => $info['title'],
    ));
  }
}