public function OffsitePaymentMethodPluginInterface::buildRedirectForm in Ubercart 8.4
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
\Drupal\uc_order\OrderInterface $order: The order that is being processed.
Return value
array The form structure.
3 methods override OffsitePaymentMethodPluginInterface::buildRedirectForm()
- PayPalExpressCheckout::buildRedirectForm in payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalExpressCheckout.php - Redirect to PayPal Express Checkout Mark Flow.
- PayPalPaymentsStandard::buildRedirectForm in payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalPaymentsStandard.php - Form constructor.
- TwoCheckout::buildRedirectForm in payment/
uc_2checkout/ src/ Plugin/ Ubercart/ PaymentMethod/ TwoCheckout.php - Form constructor.
File
- payment/
uc_payment/ src/ OffsitePaymentMethodPluginInterface.php, line 26
Class
- OffsitePaymentMethodPluginInterface
- Defines an interface for payment method plugins that redirect off-site.
Namespace
Drupal\uc_paymentCode
public function buildRedirectForm(array $form, FormStateInterface $form_state, OrderInterface $order);