I’ve a very simple task to do in Drupal 8, but I’ve hard time to find the proper way to do that.
I have a simple menu like this (all basic pages).
And when we go to Company page, I want to display all three sub-pages content in there.
How do I get the sub page node ID from the current menu? In Drupal 7, I’d go with something like menu tree data, and parse the URL to get the node ID; I’m sure we can do something similar with Drupal 8, but I can’t find a way.