Another best-practice question here. When tweaking the CMS, for example deleting the Help button as follows:
class HideButton extends LeftAndMainExtension
{
public function init()
{
parent::init();
CMSMenu::remove_menu_item('Help');
}
}
Where is the best place to store this kind of code? I was assumed that would be the mysite folder, but I had my doubts since it's debatable if this code actually relates to the "site" rather than the framework.