Im writing a module. One thing it will do is alter the menu edit form.
I've been looking at core code and examples on the internet and can't really figure out when to extend Drupals core classes, use a hook or an event listener. I get event listeners can access a lot more stuff that the hooks provided by core.
Do Any of you pro drupalerz have preferences/feelings about this?
Any patterns you see?
Have you experienced friction by extending Drupals core Form or Controller classes (my preference) vs using hooks or an event listener?