Adds a JSON API resource for menu items: /jsonapi/menu_items/{menu}

 

Features

  • Supports user and system created menu items.
  • Supports menu_link_content and menu_link_config menu items.

Comparison to Core's linkset endpoint

Drupal 10.2 onwards includes a linkset endpoint. The difference between the core approach and this module is that this module uses JSON:API resources to make menu links look like menu link content entities. So we expose additional fields that are only present on Menu Link Content entities (and Menu Link Config) such as UUIDs. In contrast the core link set functionality is focussed on menu links in their pure form.

Supporting organizations: 
Development

Project information

Releases