daris
Results
2
comments of
daris
Is it possible to exclude some element with child nodes from getNestedList() results? ``` * root ** child *** child child ``` When you edit "child" element (see above tree)...
I used: ``` array_diff_key(NavItem::getNestedList('name', 'id', '-'), $navItem->descendantsAndSelf()->lists('name', 'id')) ``` Is there a better solution?