Skip to content

Commit

Permalink
Remove old code fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Nov 1, 2021
1 parent fea6670 commit 9f3287a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php
Expand Up @@ -100,13 +100,7 @@ final protected function getRootMenu(BlockContextInterface $blockContext): ItemI
*/

$menu = $this->factory->createItem('breadcrumb');

$menu->setChildrenAttribute('class', 'breadcrumb');

if (method_exists($menu, 'setCurrentUri')) {
$menu->setCurrentUri($settings['current_uri']);
}

$menu->setCurrent(true);
$menu->setUri($settings['current_uri']);

Expand Down

0 comments on commit 9f3287a

Please sign in to comment.