Problem/Motivation
Breadcrumbs do not have all "parent" pages from the URL path. Given the URL /sample/page/data, I would expect the following breadcrumbs to be present:
However, only the first breadcrumb for "/" seems to be coming through.
Steps to reproduce
- Install the module
- Create Nodes for each of the pages in the hierarchy
- During node creation, URL aliases are generated
- Notice when loading the node's breadcrumbs via
$node->get('breadcrumbs')->getValue(), only the "/" route is returned.
I had originally tried this with JSON:API, but noticing the same issue when loading it in standard Drupal setups.
My path aliases are generated via Pathauto, and use tokens within there to generate portions of the alias!
My content is not in a menu.
Comments
Comment #2
nuuou commented