Part of the Graphql ecosystem · 39 projects
This module extends the GraphQL schema to allow fetching global menus and menus associated with groups. It provides a way to query menu items, their titles, and URLs, including nested sub-menu items.
Provides a GraphQL schema extension to expose global menu and group menu from Drupal. The requirement is to have a schema id named "graphql" (TODO to make it editable).
This module depends on drupal/graphql and drupal/group modules, here is a quick look on the full schema to expose global & group menus:
{
menuGlobal(language: "en", menu: "main") {
title
url {
path
}
children {
title
url {
path
}
}
}
menu(groupId: "group_1", name: "name", language: "en") {
name
items {
title
url {
path
}
children {
title
url {
path
}
}
}
}
}
Ask your assistant about GraphQL - Group menu
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Graphql ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 8–10 | May 2, 2023 |