You are here

public function PaymentMethodPluginBase::customerView in Ubercart 8.4

Called when an order is being viewed by a customer.

Parameters

\Drupal\uc_order\OrderInterface $order: The order that is being viewed.

Return value

array A render array.

Overrides PaymentMethodPluginInterface::customerView

2 methods override PaymentMethodPluginBase::customerView()
Check::customerView in payment/uc_payment_pack/src/Plugin/Ubercart/PaymentMethod/Check.php
Called when an order is being viewed by a customer.
CreditCardPaymentMethodBase::customerView in payment/uc_credit/src/CreditCardPaymentMethodBase.php
Called when an order is being viewed by a customer.

File

payment/uc_payment/src/PaymentMethodPluginBase.php, line 178

Class

PaymentMethodPluginBase
Defines a base payment method plugin implementation.

Namespace

Drupal\uc_payment

Code

public function customerView(OrderInterface $order) {
  return $this
    ->orderView($order);
}