You are here

public function FillPdfFormImportForm::buildForm in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Form/FillPdfFormImportForm.php \Drupal\fillpdf\Form\FillPdfFormImportForm::buildForm()

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/FillPdfFormImportForm.php, line 69

Class

FillPdfFormImportForm
Form controller for the FillPdfForm import form.

Namespace

Drupal\fillpdf\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  unset($form['actions']);
  $form['#after_build'] = [];
  return $form;
}