Closed (fixed)
Project:
Bootstrap
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2014 at 09:58 UTC
Updated:
8 Dec 2015 at 11:35 UTC
Jump to comment: Most recent
According to [#1914008] all menu links were converted to entities. We should convert all $element['#original_link']['depth'] pieces of code to
/** @var Drupal\menu_link\Entity\MenuLink $menu_link */
$menu_link = $element['#original_link'];
$menu_link->getDepth();
and other stuff like switching to Twig templates
Comments
Comment #1
m1r1k commentedComment #2
markhalliwell