You are here

public function PaymentMethodPluginInterface::cartDetails in Ubercart 8.4

Returns the form or render array to be displayed at checkout.

Parameters

\Drupal\uc_order\OrderInterface $order: The order which is being processed.

array $form: The checkout form array.

\Drupal\Core\Form\FormStateInterface $form_state: The checkout form state array.

Return value

array A form or render array.

1 method overrides PaymentMethodPluginInterface::cartDetails()
PaymentMethodPluginBase::cartDetails in payment/uc_payment/src/PaymentMethodPluginBase.php
Returns the form or render array to be displayed at checkout.

File

payment/uc_payment/src/PaymentMethodPluginInterface.php, line 40

Class

PaymentMethodPluginInterface
Defines an interface for payment method plugins.

Namespace

Drupal\uc_payment

Code

public function cartDetails(OrderInterface $order, array $form, FormStateInterface $form_state);