AbstractFileCommandHandler.shouldAddCommandToSubmenu method
AbstractFileCommandHandler › shouldAddCommandToSubmenu
Gets whether to add the command to a submenu.The registration context wins over the constructor value: a menu surface that already wraps every contributed item in a plugin-titled parent entry forces this off, because a section submenu declared here would make
Menu.sort() nest a second plugin-titled entry inside the first.Signature:
shouldAddCommandToSubmenu(): boolean | undefined