- πΈπ°Slovakia kaszarobert
It would be better to have pre_state_change and post_state_change events instead.
I need to run some custom code after the scheduler changes the state of any content. Ideally there would be a hook that gets called before and after the scheduler changes a state, so we could add custom code in event subscribers or even alter the next state to transition to.
Needs work
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
It would be better to have pre_state_change and post_state_change events instead.