toMenuItem
Creates a MenuItemConfig for a menu item defined in the same module and package as this frontend.
The MenuItemConfig.menuItemName property of the menu item is set to the given menuItemName. See MenuItemConfig.menuItemName for details.