public function PaymentMethodPluginBase::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.
Overrides PaymentMethodPluginInterface::cartDetails
5 methods override PaymentMethodPluginBase::cartDetails()
- CashOnDelivery::cartDetails in payment/
uc_payment_pack/ src/ Plugin/ Ubercart/ PaymentMethod/ CashOnDelivery.php - Returns the form or render array to be displayed at checkout.
- Check::cartDetails in payment/
uc_payment_pack/ src/ Plugin/ Ubercart/ PaymentMethod/ Check.php - Returns the form or render array to be displayed at checkout.
- CreditCardPaymentMethodBase::cartDetails in payment/
uc_credit/ src/ CreditCardPaymentMethodBase.php - Returns the form or render array to be displayed at checkout.
- FreeOrder::cartDetails in payment/
uc_payment/ src/ Plugin/ Ubercart/ PaymentMethod/ FreeOrder.php - Returns the form or render array to be displayed at checkout.
- TwoCheckout::cartDetails in payment/
uc_2checkout/ src/ Plugin/ Ubercart/ PaymentMethod/ TwoCheckout.php - Returns the form or render array to be displayed at checkout.
File
- payment/
uc_payment/ src/ PaymentMethodPluginBase.php, line 105
Class
- PaymentMethodPluginBase
- Defines a base payment method plugin implementation.
Namespace
Drupal\uc_paymentCode
public function cartDetails(OrderInterface $order, array $form, FormStateInterface $form_state) {
return [];
}