You are here

public function ProductBundleItemForm::buildForm in Commerce Product Bundle 8

Form constructor.

Parameters

array $form: An associative array containing the structure of the form.

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

Return value

array The form structure.

Overrides EntityForm::buildForm

File

src/Form/ProductBundleItemForm.php, line 18

Class

ProductBundleItemForm
Form controller for product bundle item edit forms.

Namespace

Drupal\commerce_product_bundle\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /** @var \Drupal\commerce_product_bundle\Entity\ProductBundleItem $entity */
  $form = parent::buildForm($form, $form_state);
  return $form;
}