Commit 7648ca4c authored by cburschka's avatar cburschka Committed by Attila Fekete
Browse files

Issue #2857050 by cburschka: Call to undefined function...

Issue #2857050 by cburschka: Call to undefined function Drupal\soundcloudfield\Plugin\Field\FieldFormatter\l()
parent 0bad863f
......@@ -262,7 +262,7 @@ class SoundCloudDefaultFormatter extends FormatterBase {
$output = html_entity_decode($final_iframe);
}
else {
$output = $this->t('The SoundCloud content at !url is not available, or it is set to private.', array('!url' => l($item['url'], $item['url'])));
$output = $this->t('The SoundCloud content at <a href=":url">:url</a> is not available, or it is set to private.', [':url' => $item->url]);
}
// Extract field item attributes for the theme function, and unset them
......
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