public function FillPdfFormExportForm::buildForm in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Form/FillPdfFormExportForm.php \Drupal\fillpdf\Form\FillPdfFormExportForm::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/ FillPdfFormExportForm.php, line 70
Class
- FillPdfFormExportForm
- Form controller for the FillPdfForm export form.
Namespace
Drupal\fillpdf\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
unset($form['actions']);
$form['#after_build'] = [];
return $form;
}