Anonymous
public php v1 · immutable<?phpglobal $user;if (in_array('role type here',$user->roles)|| in_array('web admin',$user->roles)) { return TRUE;} else { return FALSE;}?><?phpglobal $user;if (in_array('role type here',$user->roles)|| in_array('web admin',$user->roles)) { return TRUE;} else { return FALSE;}?>