This project is not covered by Drupal’s security advisory policy.

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
        }
      }
    }
  }
}
Supporting organizations: 
AttachmentSize
drupal_graphql_menu.png11.09 KB

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Decoupled, Developer tools
  • Ecosystem: Headless, GraphQL
  • Created by tsu on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases