public function HasPaymentInstructionsInterface::buildPaymentInstructions in Commerce Core 8.2
Builds the payment instructions.
Parameters
\Drupal\commerce_payment\Entity\PaymentInterface $payment: The payment.
Return value
array A render array containing the payment instructions.
1 method overrides HasPaymentInstructionsInterface::buildPaymentInstructions()
- Manual::buildPaymentInstructions in modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ Manual.php - Builds the payment instructions.
File
- modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ HasPaymentInstructionsInterface.php, line 23
Class
- HasPaymentInstructionsInterface
- Defines the interface for gateways which show payment instructions.
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentGatewayCode
public function buildPaymentInstructions(PaymentInterface $payment);