You are here

public function CommerceShippingQuoteInterface::submit_form_validate in Commerce Shipping 7

Perform validation on submit_form

Parameters

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

$checkout_pane: $checkout_pane passed by commerce.

$form_parents: The submit_form's parents, which can be used when setting form_errors

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

1 method overrides CommerceShippingQuoteInterface::submit_form_validate()
CommerceShippingQuote::submit_form_validate in plugins/quotes/quote_base/CommerceShippingQuote.class.php
Perform validation on submit_form

File

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

Class

CommerceShippingQuoteInterface
Declares an interface for shipping quote classes

Code

public function submit_form_validate($pane_form, $pane_values, $form_parents = array(), $order = NULL);