CP2: How would one know if a custom widget is extending a standard one
Content
I'm in the process of migrating to CP3. Having never worked on CP2, I'm not sure how I could figure out if a custom widget is extending another widget, extending and overriding it or created from scratch.
I looked at the controller file and this is what it contains:
class LogoutLink2 extends Widget { ... }
From that I can assume that it has been built from scratch (extending from base widget class) but just wanted to have a confirmation on that.
Also, if my assumption is right, what would a widget extending/overriding another widget have in the controller?
Version
3.30