This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
g.frenken68086
Hey guys,
I was wondering if it is possible to figure out whether a Model Event (eg. afterCreate, beforeValidate) was triggered in the front-end or in the back-end?
Thanks!
daftspunky
Hi g,
Try this helper App::runningInBackend()
to determine the execution context.
I hope this helps!
1-3 of 3