Twig Components / Methods / file_link
file_link(line)
is a Twig filter to generate a link to the provided file and line number using a preconfigured scheme.
{{ file|file_link(line) }}
file
type: string
line
type: integer
Source: Twig
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.