I am creating a site where authenticated users (not too computer savvy) will be entering in data to the content types we create and the "Provide a Menu Link" may cause them too much trouble. Is there a way to remove or hide this option when I create my custom content types?

  • Yes by using hook_form_alter unset the variable. Jan 11, 2013 at 4:28
  • @Sumit, DO NOT UNSET form parts, as that risks seriously breaking things further down the chain, instead set '#access' => FALSE.
    – Letharion
    Jan 11, 2013 at 19:47
  • @Letharion yeah right I forgot about '#access' key. :( Jan 14, 2013 at 5:00

3 Answers 3


In drupal 7, go to edit your content type and in the tabs at the bottom there should be 'menu settings'. If none of the checkboxes under 'Available menus' are checked, then the option of creating a menu item is not displayed when creating content of that type.


You can do this by creating a special role for your non-computer savvy users (go to People menu, then click on Roles tab and add a role). Once you have their role defined, that role will now appear as a long list of checkboxes on the right under the Permissions tab. Scroll down and make sure you uncheck the Menus (Administer menus and menu items) permission. This should prevent them from ever seeing the "Provide a Menu Link" tab when they edit content and/or messing up your menu structure. You can verify this by logging in as that role and then adding/editing content. This also gives higher-level users with Menu permissions (like yourself) the ability to edit menu preferences and tidy up as needed.


If the users do not have the rights to add new menu items, the option should not be visible to them.

  • Sounds to me like he's talking about menu settings when adding content, not adding a menu item.
    – 2pha
    Jan 13, 2013 at 1:50
  • Wheter a menu item is added while editing content or in the menu administration dialogs doesn't matter. It's conrolled by the same access rights.
    – BetaRide
    Jan 13, 2013 at 16:47
  • ahh, true. Your are correct.
    – 2pha
    Jan 21, 2013 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.