Edit on GitHub
Jump to docs navigation

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) }}

type: string

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.