public function InvoicePaymentForm::buildForm in Commerce Invoice 8.2
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 ConfirmFormBase::buildForm
File
- src/
Form/ InvoicePaymentForm.php, line 61
Class
Namespace
Drupal\commerce_invoice\FormCode
public function buildForm(array $form, FormStateInterface $form_state, InvoiceInterface $commerce_invoice = NULL) {
$this->invoice = $commerce_invoice;
return parent::buildForm($form, $form_state);
}