Twig Components / Methods / icon
icon(record = null, icon = "question-circle")
is a Twig function to return an <icon>
tag using FontAwesome icons.
This function has two usages: to get the icon for the given record, or if record=null
, to get the icon
specified in the
icon parameter.
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.