Decoupled Kit allows to solve some tasks of the decoupled Drupal:
- Object
- Block
- Menu (ver 1.x)
- Taxonomy (ver 1.x)
- Sitemap (ver 1.x)
- Breadcrumb (ver 1.x)
- Metatag (ver 1.x)
- Webform (ver 1.x)
- Redirect
- Open API (ver 1.x)
Get entity object link for current page using JSON:API and/or Decoupled Kit Router
Get blocks data for a current page. (parameters: current_theme, selected_regions). Keeps blocks visibility and weights.
Get menu data for a specified menu.
Get taxonomy tree for specified vocabulary.
Get sitemap using the Decoupled Kit Menu and Decoupled Kit Taxonomy modules.
Get breadcrumbs for a current page. Included into the Block (ver 2.x)
Metatag module integration. Get data for a current page.
Webform module integration. Get webform confirmation settings for submission ID. Recommend use the Webform rest module.
Redirect module integration. Get redirect data for a current page.
Open API module integration.
Output
The submodules created routes with JSON output.
| Submodule | Field data | Other fields |
|---|---|---|
| Decoupled Kit Object | No | Field link may has JSON:API or Decoupled Kit Router link. |
| Decoupled Kit Block | Block data or link to block data | Field link may has JSON:API link. |
| Decoupled Kit Menu | Menu data | No |
| Decoupled Kit Taxonomy | Taxonomy data | No |
| Decoupled Kit Sitemap | No | No |
| Decoupled Kit Breadcrumb | Breadcrumb data | No |
| Decoupled Kit Metatag | Metatag data from metatag module | No |
| Decoupled Kit Webform | Webform confirmation settings | No |
| Decoupled Kit Redirect | Redirect string or array | No |
Parameters
| Submodule | Need ?path | Use ?mode | Need parameter (id) |
|---|---|---|---|
| Decoupled Kit Object | Yes | No | No |
| Decoupled Kit Block | Yes | link|data | No |
| Decoupled Kit Menu | No | No | Menu ID |
| Decoupled Kit Taxonomy | No | plain|tree | Vocabulary ID |
| Decoupled Kit Sitemap | No | No | No |
| Decoupled Kit Breadcrumb | Yes | No | No |
| Decoupled Kit Metatag | Yes | No | No |
| Decoupled Kit Webform | No | No | Submission ID |
| Decoupled Kit Redirect | Yes | simple|full|final | No |
How it works
- Check for redirect (Decoupled Kit Redirect)
- Get entity link (Decoupled Kit Object) using JSON:API and/or Decoupled Kit Router
- Use layout (Decoupled Kit Block, Decoupled Kit Menu, Decoupled Kit Breadcrumb, Decoupled Kit Taxonomy)
- Use webform (Decoupled Kit Webform)
- SEO features (Decoupled Kit Metatag, Decoupled Kit Sitemap)
- Use Open API for documentation (Decoupled Open API)
Usage example
https://github.com/cooldrupal/next-drupal-decoupled-kit-blog
Sponsorship
...have a feature you'd like to sponsor? Get in touch
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Decoupled, Developer tools
92 sites report using this module
- Created by goodboy on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 2.x-dev updated 14 Aug 2025 at 18:55 UTC
Support regions, theme. Fix blocks visibility.
Development version: 8.x-1.x-dev updated 19 Jul 2025 at 09:07 UTC
