Commit 0584b186 authored by alexpott's avatar alexpott

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

parent a3fd4d0f
......@@ -1243,7 +1243,7 @@ function template_preprocess_file_link(&$variables) {
$variables['attributes'] = new Attribute($variables['attributes']);
$variables['link'] = _l($link_text, $url, $options);
$variables['link'] = \Drupal::l($link_text, Url::fromUri($url, $options));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment