From dca1b96c2e6ca4c24b8b390fed158f42b92b2dd9 Mon Sep 17 00:00:00 2001
From: Liam Morland <lkmorlan@uwaterloo.ca>
Date: Tue, 22 Nov 2022 08:41:25 -0500
Subject: [PATCH] Issue #3063339: Rename 'local_service' plugin to
 'local_server'

Continues work of 5f32183.
---
 src/Form/FillPdfSettingsForm.php      | 2 +-
 tests/src/Functional/PdfParseTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Form/FillPdfSettingsForm.php b/src/Form/FillPdfSettingsForm.php
index 1e8e234..e41379c 100644
--- a/src/Form/FillPdfSettingsForm.php
+++ b/src/Form/FillPdfSettingsForm.php
@@ -267,7 +267,7 @@ class FillPdfSettingsForm extends ConfigFormBase {
       ],
     ];
 
-    $form['local_service'] = [
+    $form['local_server'] = [
       '#type' => 'details',
       '#title' => $this->t('Configure %label', ['%label' => $this->definitions['local_server']['label']]),
       '#open' => TRUE,
diff --git a/tests/src/Functional/PdfParseTest.php b/tests/src/Functional/PdfParseTest.php
index 150ce89..f20fb90 100644
--- a/tests/src/Functional/PdfParseTest.php
+++ b/tests/src/Functional/PdfParseTest.php
@@ -140,7 +140,7 @@ class PdfParseTest extends FillPdfTestBase {
     // NOTE: Other bugs led me to believe this was the case, but it's kind of a
     // useful method, so I'm just leaving it for now.
     switch ($backend) {
-      case 'local_service':
+      case 'local_server':
       case 'pdftk':
         return 12;
     }
-- 
GitLab