Commit 36ed633f authored by alexpott's avatar alexpott

Issue #2296237 by er.pushpinderrana: Replace check_plain() to...

Issue #2296237 by er.pushpinderrana: Replace check_plain() to Drupal\Component\Utility\String::checkPlain() in file module.
parent 168c314d
......@@ -1607,7 +1607,7 @@ function template_preprocess_file_link(&$variables) {
'#theme' => 'image__file_icon',
'#uri' => file_icon_url($file_entity, $icon_directory),
'#alt' => '',
'#title' => check_plain($file_entity->getFilename()),
'#title' => String::checkPlain($file_entity->getFilename()),
'#attributes' => array('class' => 'file-icon'),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment