Created
April 22, 2021 11:16
-
-
Save aqibgatoo/4f5a3b44a9cd29a534c959bc9cbea812 to your computer and use it in GitHub Desktop.
Drupal Menu Api Response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"linkset": [ | |
{ | |
"anchor": "/system/menu/main/linkset", | |
"item": [ | |
{ | |
"href": "/", | |
"title": "Home", | |
"drupal-menu-hierarchy": [ | |
".000" | |
], | |
"drupal-menu-machine-name": [ | |
"main" | |
] | |
}, | |
{ | |
"href": "https://preact.io", | |
"title": "Preact", | |
"drupal-menu-hierarchy": [ | |
".000.000" | |
], | |
"drupal-menu-machine-name": [ | |
"main" | |
] | |
}, | |
{ | |
"href": "https://react.org", | |
"title": "React", | |
"drupal-menu-hierarchy": [ | |
".000.001" | |
], | |
"drupal-menu-machine-name": [ | |
"main" | |
] | |
}, | |
{ | |
"href": "https://example.com", | |
"title": "Test", | |
"drupal-menu-hierarchy": [ | |
".000.002" | |
], | |
"drupal-menu-machine-name": [ | |
"main" | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment