Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
check if user has role twig
Dean
Programming language:
Whatever
2021-07-15 13:28:41
0
Q:
check if user has role twig
mohamed
Code:
Whatever
2021-06-26 05:49:29
{% if is_granted('ROLE_ADMIN') %} ... {% endif %}
0
Tags
user
use
check
Related
twig if statement
twig is set variable
vue class binding if else
twig foreach
if else twig
twig if multi condition
twig if
if variable is defined twig
vba check if userform object exists
New to Communities?
Join the community