[#31946] Support new mvc components in com_menus. Fix #1929