Tutorials - Drupal

Drupal 8 breadcrumb functions (menu_get_active_trail, and menu_link_get_preferred ...)

Submitted by editor on Mon, 09/26/2016 - 10:57

Tags

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.

Example :