You are here

public function CommerceShippingQuote::submit_form in Commerce Shipping 7

Allow quote to add an form displayed when the shipping quote is selected.

Parameters

$pane_values: $form_state['values'] from the pane where the form is located

$checkout_pane: $checkout_pane passed by commerce.

$order: Optionally pass the order, if the class wasn't instantiated with the order.

Overrides CommerceShippingQuoteInterface::submit_form

1 call to CommerceShippingQuote::submit_form()
CommerceShippingExample::submit_form in modules/plugins/quotes/example_plugin/CommerceShippingExample.class.php
Submit form callback: adds additional elements to the checkout pane when this shipping method is selected.
1 method overrides CommerceShippingQuote::submit_form()
CommerceShippingExample::submit_form in modules/plugins/quotes/example_plugin/CommerceShippingExample.class.php
Submit form callback: adds additional elements to the checkout pane when this shipping method is selected.

File

plugins/quotes/quote_base/CommerceShippingQuote.class.php, line 114
Contains the CommerceShippingQuote class and CommerceShippingQuoteInterface interface.

Class

CommerceShippingQuote

Code

public function submit_form($pane_values, $checkout_pane, $order = NULL) {
  return array();
}