Now we move to second part how in Magento 2 create basic module admin grid. As we cover the main part of module in Magento 2 create basic module part 1. Now we focus on admin part. This tutorial cover the how to create admin controller, how to create admin menu, how to create admin custom ui component grid, how to create admin ui component form,how to create mass action and how to create custom router for admin. So start with creating the router.
Now we create custom grid admin.If you want to read the detail about read tutorial Magento 2 create admin controller. Grid is part of three files. Controller file, layout file, grid collection model and ui component file.
Now we complete the custom admin grid. Now move to third part Magento 2 create basic module admin from part 3.
Today we discuss how in magento 2 create basic module. This tutorial include the complete module sections frontend, admin end, custom model, custom admin grid, custom admin form, frontend controller, admin controller and admin menu. I already posted a tutorial about create a hello world module. Now we will go one step further and create a complete basic module. So let start with our example. My module name is hello world.
I already discuss model in Magento 2 create custom model tutorial. So we go to directly creating models file.
Now the part 1 is complete now we got part 2 Magento 2 create basic module admin.
Today we discuss how in magento 2 create admin controller. This tutorial include the basic structure of admin controller and how to execute and create admin controller. Now we start with our example.
For the creating custom admin controller first create the route routes.xml file in following directory to access to admin controller.