public function CustomCardFieldsBuilderInterface::build in Commerce PayPal 8
Build the PayPal Checkout card form.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
\Drupal\commerce_payment\Entity\PaymentGatewayInterface $payment_gateway: The payment gateway.
Return value
array A renderable array representing the card form.
1 method overrides CustomCardFieldsBuilderInterface::build()
- CustomCardFieldsBuilder::build in src/
CustomCardFieldsBuilder.php - Build the PayPal Checkout card form.
File
- src/
CustomCardFieldsBuilderInterface.php, line 24
Class
- CustomCardFieldsBuilderInterface
- Provides an interface for the hosted fields builder.
Namespace
Drupal\commerce_paypalCode
public function build(OrderInterface $order, PaymentGatewayInterface $payment_gateway);