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
After #1947536: Convert drupal_get_breadcrumb() and drupal_set_breadcrumb() to a service the breadcrumb system has been converted into a modular service so we don't need drupal_set_breadcrumb
and LegacyBreadcrumbBuilder
Proposed resolution
Remove drupal_set_breadcrumb
and LegacyBreadcrumbBuilder
.
Remaining tasks
Create a patch after
- #2061911: Remove drupal_set_breadcrumb and LegacyBreadcrumbBuilder in taxonomy module
- #2061913: Remove drupal_set_breadcrumb and LegacyBreadcrumbBuilder in Views module
User interface changes
None
API changes
See #1947536: Convert drupal_get_breadcrumb() and drupal_set_breadcrumb() to a service and Extensible breadcrumb system added.
Related Issues
- #1947536: Convert drupal_get_breadcrumb() and drupal_set_breadcrumb() to a service
- #2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}.
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentedWe need to follow-up to the local task/action plugins change to potentially make the breadcrumb service aware of these plugins and add those paths to the end of the breadcrumb.
Comment #2
andypostSo maybe better to file per-module issue to fix breadcrumbs and local tasks same time?
Comment #3
andypostthere's only 13 left for drupal_set_breadcrumb()
Comment #4
AndreyMaximov CreditAttribution: AndreyMaximov commentedComment #5
larowlanSee also #2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}.
Comment #5.0
larowlanAdded links to child issues
Comment #6
jibranRemaining issues after #2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}. is in.
Comment #6.0
jibranUpdated remaining tasks.
Comment #7
andypostSuppose better close this one because last issue marked as Critical #2061913: Remove drupal_set_breadcrumb and LegacyBreadcrumbBuilder in Views module
Comment #8
andypost