You are viewing beta documentation for Navigation 4.x.
GraphQL
Context & Breadcrumbs
GraphQL equivalents for the Twig context and breadcrumb helpers.
navigationContext
Mirrors craft.navigation.context(handle):
{
navigationContext(menuHandle: "mainMenu") {
current { title url }
parent { title url }
siblings { title url }
ancestors { title url }
children { title url }
branch { title url }
currentNodes { title url }
activeNodes { title url }
}
}Pass the same menuHandle / site arguments you would use for navigationNodes.
navigationMenuBreadcrumbs
Mirrors craft.navigation.menuBreadcrumbs(handle):
{
navigationMenuBreadcrumbs(menuHandle: "mainMenu") {
title
url
current
}
}Returns a trail from the menu root to the deepest current node, including projected Dynamic matches when applicable.
Twig reference
See Context & Breadcrumbs for URL-segment vs menu-tree semantics and when to use each resolver.
Last updated: July 3, 2026, 1:22:00 PM