IS_IMPERSONATOR
Description
Replacement for ROLE_PREVIOUS_ADMIN
Syntax
{# BEFORE #}
{% if is_granted(‘ROLE_PREVIOUS_ADMIN’) %} Exit impersonation
{% endif %}
{# AFTER #}
{% if is_granted(‘IS_IMPERSONATOR’) %} Exit impersonation
{% endif %}
Replacement for ROLE_PREVIOUS_ADMIN
{# BEFORE #}
{% if is_granted(‘ROLE_PREVIOUS_ADMIN’) %} Exit impersonation
{% endif %}
{# AFTER #}
{% if is_granted(‘IS_IMPERSONATOR’) %} Exit impersonation
{% endif %}