- 🇺🇸United States smustgrave
Since this was turned to a service in https://www.drupal.org/node/2226481 → wonder if this is still a needed issue?
We can now change the #520106: Allow setting the active menu trail for dynamically-generated menu paths. → . For me this look like a hack but I have to say the menu system is complicated and I perhaps don't get all the incidence.
Now the signature of the function is
menu_tree_page_data($menu_name, $max_depth = NULL, $only_active_trail = FALSE);
But you have now way to build a breadcrumb based of an other node than the active one. Anyways it look cleaner to me to always give the active_path instead of finding it inside the function.
So we can add active_path as an argument and use this signature
menu_tree_page_data($menu_name, $max_depth = NULL, $only_active_trail = FALSE, $active_path = NULL);
Postponed: needs info
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Since this was turned to a service in https://www.drupal.org/node/2226481 → wonder if this is still a needed issue?