I have this kind of menu set up in my Drupal 8 project.
Level 1 item A1
Level 2 item A2
Level 2 item B2
Level 2 item P2
Level 2 item Q2
Level 1 item B1
Level 2 item D2
Level 2 item E2
Level 1 item C1
Level 2 item Z2
Level 2 item X2
Is there any way to create a page containing all the submenu links on a page. The desired result would be:
- Click on “A1” menu link
- Display a page containing A2, B2, P2 and Q2 in a list(the direct children of A1)
I’ve tried setting this up using views, the problem with that is i don’t find a way to filter based on the parent menu item. Only the type of the node and therefor it shows all my content.
Is it possible to use views to achieve this, or is there a better way?
Sponsored by SupremePR