City-of-Bloomington / drupal-module-onboard

Drupal module for integration with OnBoard
GNU General Public License v2.0
0 stars 1 forks source link

Support aliases for base nodes in breadcrumbs #8

Open inghamn opened 7 years ago

inghamn commented 7 years ago

The onboard module creates several routes by adding onto the alias for nodes that have a committee_id. You would naturally expect the breadcrumbs to extend from the breadcrumb to the node; however, it is impossible right now to determine the breadcrumb for a given node.

Drupal will never give you a breadcrumb for an arbitrary node, and will instead always give you the breadcrumb for the current route.

https://www.drupal.org/node/2884217

Until this gets fixed, this module will just draw a link to the node as the start of the module's breadcrumbs. So, if your node's breadcrumb would be something like: "Home > Boards > City Council", this module will only be able to render "Home > City Council" as the base for the breadcrumbs.