Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fillpdf
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
fillpdf
Commits
ed18fa30
Commit
ed18fa30
authored
3 years ago
by
Liam Morland
Browse files
Options
Downloads
Patches
Plain Diff
Issue #3271490: Fix redirected links to documentation
parent
367afe71
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fillpdf.module
+2
-2
2 additions, 2 deletions
fillpdf.module
src/Plugin/PdfBackend/PdftkPdfBackend.php
+1
-1
1 addition, 1 deletion
src/Plugin/PdfBackend/PdftkPdfBackend.php
with
3 additions
and
3 deletions
fillpdf.module
+
2
−
2
View file @
ed18fa30
...
@@ -15,7 +15,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) {
...
@@ -15,7 +15,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) {
switch
(
$route_name
)
{
switch
(
$route_name
)
{
case
'help.page.fillpdf'
:
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.'
,
[
$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
(),
->
toString
(),
]);
]);
return
$content
;
return
$content
;
...
@@ -24,7 +24,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) {
...
@@ -24,7 +24,7 @@ function fillpdf_help($route_name, RouteMatchInterface $route_match) {
if
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'help'
))
{
if
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'help'
))
{
return
t
(
'See the <a href=":link">documentation</a> for an explanation on dowloading these forms to PDF'
,
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
(),
->
toString
(),
]);
]);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/PdfBackend/PdftkPdfBackend.php
+
1
−
1
View file @
ed18fa30
...
@@ -23,7 +23,7 @@ use Drupal\Core\File\FileSystemInterface;
...
@@ -23,7 +23,7 @@ use Drupal\Core\File\FileSystemInterface;
* "Locally installed pdftk. You will need a VPS or a dedicated server to
* "Locally installed pdftk. You will need a VPS or a dedicated server to
* install pdftk, see <a href=':url'>documentation</a>.",
* install pdftk, see <a href=':url'>documentation</a>.",
* arguments = {
* arguments = {
* ":url" = "https://www.drupal.org/docs/
8/
modules/fillpdf"
* ":url" = "https://www.drupal.org/docs/
contributed-
modules/fillpdf"
* }
* }
* ),
* ),
* weight = -5
* weight = -5
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment