Timeline for Dispatch an Event when the a user logs
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 26, 2018 at 1:20 | vote | accept | Esnare Maussa | ||
Jul 26, 2018 at 1:19 | answer | added | Esnare Maussa | timeline score: 1 | |
May 7, 2018 at 7:32 | comment | added | Esnare Maussa | When In ran the drupal debug:event, I can't see an event for the logger class. So I don't know how to create an event which gets trigger when Drupal core logs in an error on the watchdog table. Does someone knows how to do that one? :) | |
May 7, 2018 at 7:27 | comment | added | Esnare Maussa | Hi guys, thanks for your answer. I don't really want to log a message with my custom module, I want my module to react when a message has been log on the watchdog table. In other words, I need to trigger a function in my custom module when an error is logged in the watchdog table. | |
Apr 30, 2018 at 15:07 | comment | added | BWagner | So you have a custom module that logs a message and at the same time fires a custom 'event'? Unless I misunderstand, have you looked at creating an event listener? symfony.com/doc/current/event_dispatcher.html | |
Apr 30, 2018 at 7:57 | comment | added | Berdir | That is still a hook, not an event (hook_user_login()) | |
Apr 30, 2018 at 7:56 | review | First posts | |||
Apr 30, 2018 at 7:56 | |||||
Apr 30, 2018 at 7:55 | history | asked | Esnare Maussa | CC BY-SA 3.0 |