From 87b109b46e8285fdabbaaeec21b7da9bb546ad58 Mon Sep 17 00:00:00 2001
From: Liam Morland <lkmorlan@uwaterloo.ca>
Date: Wed, 30 Mar 2022 12:43:20 -0400
Subject: [PATCH] Issue #3272536: API change: Remove filename from
 actionManager configuration context

---
 src/Controller/HandlePdfController.php | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/Controller/HandlePdfController.php b/src/Controller/HandlePdfController.php
index 2b43a5e..15d253e 100644
--- a/src/Controller/HandlePdfController.php
+++ b/src/Controller/HandlePdfController.php
@@ -262,10 +262,6 @@ class HandlePdfController extends ControllerBase {
       $action_plugin_id = $redirect ? 'redirect' : 'save';
     }
 
-    // @todo Remove in FillPDF 5.x. The filename is not part of the context and
-    // is separately available anyway.
-    $context['filename'] = $filename;
-
     $action_configuration = [
       'form' => $fillpdf_form,
       'context' => $context,
-- 
GitLab