getCurrentHandler vs getCurrentEvent

Hi all,

I want to get the current Handler with path, so I attempted to use getCurrentHandler(). The documentation states getCurrentHandler() : Get the handler or handler/package path. However, when I run the method, all I get back is the event handler name, not the package path. When I run getCurrentEvent I get the package, handler and event.

So, running getCurrentHandler() returns ehMyHandler but getCurrentEvent returns

Is this the expected behavior or should getCurrentHandler instead return what I expect (

If getCurrentHandler won’t return what will?

Thank you,


Thanks for posting, Would you mind sharing a link to the documentation you are referring to so it can be updated? You want to use “getCurrentEvent()” to obtain the full path.

The behavior is as expected–we may need to update the docs.