public function OrderFields::submitPaneForm in Commerce Checkout Order Fields 8
Handles the submission of an pane form.
Parameters
array $pane_form: The pane form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state of the parent form.
array $complete_form: The complete form structure.
Overrides CheckoutPaneBase::submitPaneForm
File
- src/
Plugin/ Commerce/ CheckoutPane/ OrderFields.php, line 120
Class
- OrderFields
- Exposes the "Checkout" form view mode during checkout.
Namespace
Drupal\commerce_checkout_order_fields\Plugin\Commerce\CheckoutPaneCode
public function submitPaneForm(array &$pane_form, FormStateInterface $form_state, array &$complete_form) {
$this
->getFormDisplay()
->extractFormValues($this->order, $pane_form, $form_state);
parent::submitPaneForm($pane_form, $form_state, $complete_form);
}