Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0584b186
Commit
0584b186
authored
Jan 20, 2015
by
alexpott
Browse files
Issue
#2404041
by pcambra: Replace _l() calls in file module
parent
a3fd4d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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