I made a page ( let's say the name of the page is A ) to let user check in. The page only show an QR code.
When the anonymous user visit A, scan the QR CODE, the Controller behind the page will Redirect to page B. In page B, it will show an ID to the user. And since i want know who got the id , so i need to know the name and other things of the user.
I am trying to create test for my module. I created .test file in module folder and added corresponding content into .info file. Code of .test file is following:
I see lots of examples of how to create a single menu item from the .links.menu.yml file and can do that but am trying to figure out how to extend that to building a complete main navigation menu with x level1 menu items and each of those then has varying numbers of sub-menus.
I'll scour github but if anyone has a tutorial they have used please let me know.