- Issue created by @millnut
- Status changed to Closed: won't fix
over 1 year ago 3:41pm 11 September 2023 - 🇨🇭Switzerland saschaeggi Zurich
We're currently not planning in adding new features at this point while we aim in making what we have stable.
You could create a module which hooks into breadcrumbs to achieve that.
So closing this as won't fix.
- Status changed to Active
7 months ago 7:43am 30 May 2024 - 🇩🇪Germany berliner
The problem with this as far as I can see, is that whatever custom breadcrumb one puts in place,
gin_preprocess_breadcrumb()
will just overwrite it for all routes where an entity object can by extracted by_gin_get_route_entity()
.So this doesn't look like a feature request, but more like a support request. It would be good to be able to opt-out of this behaviour on the gin side. The way it is right now feels a bit greedy.
Or is there already a way to opt out of this that I just didn't see?
- 🇩🇪Germany berliner
For discussion: Maybe something like this patch, which allows to opt-out of the gin breadcrumb processing doing this:
/** * Implements hook_preprocess_breadcrumb(). */ function MY_MODULE_preprocess_breadcrumb(&$variables) { $node = \Drupal::routeMatch()->getParameter('node'); if ($node->bundle() == 'MY_BUNDLE') { $variables['gin_breadcrumb_skip'] = TRUE; } }
tried the patch from comment #4 but didn't change anything.
also for me its already full breadcrumb is appearing.