Custom Module Development in Drupal 9
- Abhinesh Dhiman
- Mar 15, 2022
- 1 min read
Step 1: Name the Drupal 9 Module:
This is the first step to create a module under ‘web/modules/custom’ folder. We will name that module as first_module.

Step 2: Create an info file:
Under the first_module folder we will create a info.yml file starting from the machine name. In our case it will be "first_module.info.yml".

Step 3: Install:
Under the route "/admin/modules", we can find our first module and install that.

Comentarios