Timeline for Prevent hook_form_alter to works only on frontend not in admin?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 1, 2014 at 6:39 | comment | added | Teegan | This is going to apply everywhere not just in the admin area. And it won't work if there are multiple roles which can access the admin area. | |
Sep 11, 2012 at 6:14 | comment | added | Yuseferi |
This is not meaning we are in admin pages, just check the current user role is admin_role in everywhere
|
|
Sep 11, 2012 at 6:09 | vote | accept | Pramod Kumar Sharma | ||
Sep 11, 2012 at 6:05 | review | Suggested edits | |||
Sep 11, 2012 at 8:12 | |||||
Sep 11, 2012 at 5:50 | comment | added | AjitS | this is better! but I personally think that having multiple admins is not good from the security perspective. | |
Sep 11, 2012 at 5:47 | history | answered | Dinesh Kumar Sarangapani | CC BY-SA 3.0 |