Skip to content
Snippets Groups Projects
Commit ed18fa30 authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3271490: Fix redirected links to documentation

parent 367afe71
No related branches found
No related tags found
No related merge requests found
......@@ -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(),
]);
}
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment