Description
Replacement for
ROLEPREVIOUSADMIN
Syntax
{# BEFORE #}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a href="...">Exit impersonation</a>
{% endif %}
{# AFTER #}
{% if is_granted('IS_IMPERSONATOR') %}
<a href="...">Exit impersonation</a>
{% endif %}