I was wondering if using hook_module_implements_alter()
is a good practice in D8 also to alter the order of execution of hooks?
I came to hear that it is suggested to do this with events
that was introduced in D8 which will be a better way, but I could not find any reference that says not to use hook_module_implements_alter()
in D8. One such ref.
If using events
is advised, can someone put up a small example as to how to do that?
Thanks