You are here

public function CheckoutTest::buildPaneForm in Commerce Core 8.2

Builds the pane form.

Parameters

array $pane_form: The pane form, containing the following basic properties:

  • #parents: Identifies the position of the pane form in the overall parent form, and identifies the location where the field values are placed within $form_state->getValues().

\Drupal\Core\Form\FormStateInterface $form_state: The form state of the parent form.

array $complete_form: The complete form structure.

Overrides CheckoutPaneInterface::buildPaneForm

File

modules/checkout/tests/modules/commerce_checkout_test/src/Plugin/Commerce/CheckoutPane/CheckoutTest.php, line 22

Class

CheckoutTest
Provides a test pane used in test to test the dependency removal.

Namespace

Drupal\commerce_checkout_test\Plugin\Commerce\CheckoutPane

Code

public function buildPaneForm(array $pane_form, FormStateInterface $form_state, array &$complete_form) {
  return $pane_form;
}