Description
Shows that currently logged in user is impersonating another user
Syntax
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a href="...">Exit impersonation</a>
{% endif %}
Deprecation
Deprecated in Symfony 5.1, replaced with
ISIMPERSONATOR.