How do you remove the "Navigation" menu (and others) from the menu settings on the node edit form? I suspect this can be achieved somehow using a hook like module_form_alter, but am not sure how to implement it. The motivation for this is to remove the confusion our users have when menus other than the standard primary links menu is in the drop down. The aim is to restrict the options to just the menus they will need/want to post content to.
This question is in part related to an earlier question I asked in regards to Domain Access that I have not yet been able to solve.
There are two modules that maybe do what you want, I never tried them myself tough. Menu per Role and Menu Settings per Content Type.
来源:https://stackoverflow.com/questions/3036864/removing-the-navigation-menu-from-the-node-menu-settings-in-drupal