From ed18fa301556c2453a68b9846e590da21f4fcd12 Mon Sep 17 00:00:00 2001 From: Liam Morland <lkmorlan@uwaterloo.ca> Date: Thu, 24 Mar 2022 13:01:18 -0400 Subject: [PATCH] Issue #3271490: Fix redirected links to documentation --- fillpdf.module | 4 ++-- src/Plugin/PdfBackend/PdftkPdfBackend.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fillpdf.module b/fillpdf.module index fc5b81a..ab0e2bd 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -15,7 +15,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.fillpdf': $content = t('See the <a href=":documentation">documentation on drupal.org</a> for a full description of and guide to this module.', [ - ':documentation' => Url::fromUri('https://www.drupal.org/docs/8/modules/fillpdf') + ':documentation' => Url::fromUri('https://www.drupal.org/docs/contributed-modules/fillpdf') ->toString(), ]); return $content; @@ -24,7 +24,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) { if (\Drupal::moduleHandler()->moduleExists('help')) { return t('See the <a href=":link">documentation</a> for an explanation on dowloading these forms to PDF', [ - ':link' => Url::fromUri('https://www.drupal.org/docs/8/modules/fillpdf') + ':link' => Url::fromUri('https://www.drupal.org/docs/contributed-modules/fillpdf') ->toString(), ]); } diff --git a/src/Plugin/PdfBackend/PdftkPdfBackend.php b/src/Plugin/PdfBackend/PdftkPdfBackend.php index ea0b1df..e697371 100644 --- a/src/Plugin/PdfBackend/PdftkPdfBackend.php +++ b/src/Plugin/PdfBackend/PdftkPdfBackend.php @@ -23,7 +23,7 @@ use Drupal\Core\File\FileSystemInterface; * "Locally installed pdftk. You will need a VPS or a dedicated server to * install pdftk, see <a href=':url'>documentation</a>.", * arguments = { - * ":url" = "https://www.drupal.org/docs/8/modules/fillpdf" + * ":url" = "https://www.drupal.org/docs/contributed-modules/fillpdf" * } * ), * weight = -5 -- GitLab