No, route and model are two different things.
Use this example, but instead of reading from the .csv, get the structure field instead:
Example with structure here in the first post: Page model for virtual children pages on the fly
No, route and model are two different things.
Use this example, but instead of reading from the .csv, get the structure field instead:
Example with structure here in the first post: Page model for virtual children pages on the fly