Drupal 8 breadcrumb functions (menu_get_active_trail, and menu_link_get_preferred ...)
By editor, 26 September, 2016
Question
How to breadcrumb functions in drupal 8 ?
menu_get_active_trail(), menu_set_active_trail(), and menu_link_get_preferred()
menu_get_active_breadcrumb () ....
Those functions [ menu_set_active_item(), menu_set_active_trail(), menu_get_active_trail(), menu_link_get_preferred() ] are removed on D8 and replaces with drupal 8 service. You can use following example to get data and to edit.
Comments