Skip to content
Snippets Groups Projects
Commit 0584b186 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2404041 by pcambra: Replace _l() calls in file module

parent a3fd4d0f
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
/**
......
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