On a field of field type = LINK and widget = LINK, I want to add an tag on the rendered output.
The reason is to be able to add a class, not to the whole tag output, but to append a FontAwesome icon.
Hook_page_alter, of course shows all of the rendered HTML. I really don't want to mess with that.
I tried hook_entity_view_alter. That works in a clumsy fashion but two problems:
1) It only affects the output from the node displayed via a view 2) It appends the tag in new after the displayed link.
It appends the tag in new after the displayed link.