Edit on GitHub
Jump to docs navigation

Twig Components / Methods / impersonation_exit_url

impersonation_exit_url(exitTo = null) is a Twig function that is similar to the impersonation_exit_path function, but it generates absolute URLs instead of relative URLs.

Note: New in version 5.2:
The impersonation_exit_url() function was introduced in Symfony 5.2.

{{ impersonation_exit_url(exitTo = null) }}

exitTo (optional)
type: string

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.