diff --git a/src/Plugin/Field/FieldFormatter/OrcidFieldFormatter.php b/src/Plugin/Field/FieldFormatter/OrcidFieldFormatter.php index 9cc0f6b..9908162 100644 --- a/src/Plugin/Field/FieldFormatter/OrcidFieldFormatter.php +++ b/src/Plugin/Field/FieldFormatter/OrcidFieldFormatter.php @@ -42,7 +42,8 @@ class OrcidFieldFormatter extends FormatterBase { $prefix = 'https://orcid.org/'; // Assumes all field values are just plain text or strings values and not full orcid URLS. $orcidUrl = $prefix . $item->value; - $imgSrc = ''; + $imgSrc = ''; $link = Link::fromTextAndUrl($orcidUrl, Url::fromUri($orcidUrl)); $element[$delta] = [$link->toRenderable()]; $element[$delta][0]['#prefix'] = $imgSrc;