4

I'm trying to export menu links with features but it saves the node id in the feature, but obviously the nid is different in dev, test and production.

I can't use UUID because nodes are created in every environment.

Is there a way to export menu links with alias and not with nids?

1
  • A new module was created for menu links features integration, drupal.org/project/features_menu_uuid. This may not address the exact use case of the original question, but might be useful for others finding this from a search.
    – donquixote
    Mar 4, 2020 at 12:40

1 Answer 1

3

http://webwash.net/tutorials/import-and-export-menus-menu-import-module-drupal-7 shows how to use http://drupal.org/project/menu_import which uses path aliases instead of UUID.

I think this would work.

Your Answer

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

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