How can I export a menu as a feature? I found the menu import module, but it does not work with this feature.

  • To clarify: I want to do this via drush, rather than the UI. – Bart Braem Apr 17 '12 at 14:14
  • And I'm using Drupal 7 with the most recent, stable modules. – Bart Braem Apr 17 '12 at 14:14
  • You can tag your question with "7" to indicate Drupal 7. – user5072 Apr 18 '12 at 0:05

You need some way to assign UUIDs to menu links. Just like how the uuid_features module assigns UUIDs to nodes.

For Drupal 6, there's a patch to the uuid_features module that has worked well for me. (See comment #2 on the issue for instructions.)

Haven't tried for Drupal 7.

  • I don't get it. OP is asking about the menu, not the menu links? – AlxVallejo Nov 10 '14 at 19:24

FYI.. The http://drupal.org/project/menu_import module added drush integration since 1.2.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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