-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a library for parsing Drupal-managed menus #6
base: main
Are you sure you want to change the base?
Conversation
…e the object re-iterable.
This reverts commit c916948.
@gabesullice Not sure how the workflow is for this project, but did you actually intend to commit |
Ha... yes. That's keeps coming up 😅
I am not married to the idea. If you are moving the code elsewhere and it's troublesome, feel free to remove it. |
@gabesullice well maybe might be nice idea to include that in the readme.md as contribution/development guide. I am trying to run test and have no issues running them inside
Am not sure how to get them test running. Are you facing same issues? |
This adds some Drupal-specific assumptions on top of #4 to provide utilities for interpreting menus. Namely, it "tree-ifies" the results.
Here's some simple code that demonstrates the API (assume
responseJSON
is the object defined here):