function commerce_paypal_checkout_embedded_checkout_panes in Commerce PayPal 7.2
Returns the checkout pane IDs of checkout panes that should be embedded in the PayPal Checkout review and confirm page.
2 calls to commerce_paypal_checkout_embedded_checkout_panes()
- commerce_paypal_checkout_review_pane_checkout_form in modules/
checkout/ includes/ commerce_paypal_checkout.checkout_pane.inc - Checkout pane callback: returns a pane allowing the customer to review the final details of the order and provide any final information required.
- commerce_paypal_checkout_review_pane_checkout_form_validate in modules/
checkout/ includes/ commerce_paypal_checkout.checkout_pane.inc - Validate handler for the PayPal Checkout review and confirm page.
File
- modules/
checkout/ commerce_paypal_checkout.module, line 207 - Implements PayPal Checkout in Drupal Commerce checkout.
Code
function commerce_paypal_checkout_embedded_checkout_panes() {
return array_filter(variable_get('commerce_paypal_checkout_review_embedded_panes', array()));
}