DrupalX

Extension
Framework

min

Chainable

Chainable

You can use the min method if you only want to render the subtree of items above a specific depth level:

<nav role="navigation menu">
  <h1>Menu</h1>
  {{ Menu::load("main").min(2) }}
</nav>