diff --git a/src/Form/FillPdfFormFieldForm.php b/src/Form/FillPdfFormFieldForm.php index 674931b4d7917eece98e384d5eeca3fe3d089bd0..365432a2673db8fcf9c42c5ef35ec3c7c0df6330 100644 --- a/src/Form/FillPdfFormFieldForm.php +++ b/src/Form/FillPdfFormFieldForm.php @@ -76,9 +76,6 @@ class FillPdfFormFieldForm extends ContentEntityForm { * {@inheritdoc} */ public function save(array $form, FormStateInterface $form_state) { - /** @var FillPdfFormInterface $entity */ - $entity = $this->entity; - $form_state->setRedirect('entity.fillpdf_form.edit_form', [ 'fillpdf_form' => $this->entity->fillpdf_form->target_id, ]);