Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
0584b186
Commit
0584b186
authored
Jan 20, 2015
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2404041
by pcambra: Replace _l() calls in file module
parent
a3fd4d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/modules/file/file.module
core/modules/file/file.module
+1
-1
No files found.
core/modules/file/file.module
View file @
0584b186
...
...
@@ -1243,7 +1243,7 @@ function template_preprocess_file_link(&$variables) {
$variables
[
'attributes'
]
=
new
Attribute
(
$variables
[
'attributes'
]);
$variables
[
'attributes'
]
->
addClass
(
$classes
);
$variables
[
'link'
]
=
_
l
(
$link_text
,
$url
,
$options
);
$variables
[
'link'
]
=
\
Drupal
::
l
(
$link_text
,
Url
::
fromUri
(
$url
,
$options
)
)
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment