Twig Components / Methods / logout_path
logout_path(key = null)
is a Twig function to generate a relative logout URL for the given firewall. If no key is
provided, the URL is generated for the current firewall the user is logged into.
{{ logout_path(key = null) }}
key (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.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.