Join GitHub today
Added resource ids to OnResourceAutoPublish param #12747
What does it do ?
This PR extends the
Why is it needed ?
Now you can write a plugin that clears custom cache partitions for the auto-published resource or it's parents because you get the resource id from the event. Without getting the IDs, the event is pretty useless from my perspective.
Thanks @christianseel for your contribution :) I've merged it into 2.x for inclusion in 2.5.
It might make sense to extend this behaviour a bit further so it also includes the