Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
MenuLinkBreadcrumbBuilder
is dependent on menu_get_active_breadcrumb()
Proposed resolution
Rewrite menu_get_active_breadcrumb()
into a service.
Remaining tasks
Discuss and create a patch.
User interface changes
None
API changes
See #1947536: Convert drupal_get_breadcrumb() and drupal_set_breadcrumb() to a service and Extensible breadcrumb system added.
Comments
Comment #1
larowlanWorking in #2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}.
Comment #2
jibranDuplicate of #2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}..