- Issue created by @kbriand
I have a use case where the breadcrumb of a given menu (footer) must be slightly different from what is generated by this module.
<!--break-->My first thought was to:
applies()
, restrict the menu list only to footer and call parent methodbuild()
, call the parent method and do my custom stuffBut when extending the MenuBasedBreadcrumbBuilder, it is not possible to alter the menu list.
I have other menus that should use the MenuBasedBreadcrumbBuilder behavior, with higher priority than the footer menu, so changing menu weights is not an option.
Move the $this->config->get('menu_breadcrumb_menus')
into a dedicated protected function so child classes may override the menu list.
Active
2.0
Code