You are here

function payment_page_payment_view in Payment 7

Menu page callback: show a payment.

Parameters

Payment $payment:

Return value

array

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

File

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

Code

function payment_page_payment_view(Payment $payment) {
  return entity_view('payment', array(
    $payment,
  ));
}