How to create a custom module in Drupal 8 & 9
Drupal 9 is the latest version of Drupal. There are significant differences between Drupal 8&9 and Drupal 7. Firstly, Drupal 8&9 requires the latest version of php5 to run. Drupal 8&9 uses a PHP framework called Symphony, which relies heavily on OOP. Another major change in Drupal 8&9 is the folder structure. In Drupal 8&9, all core modules are placed within core/ and all other modules are placed in root modules folder. Moreover, there are changes in the way modules are created. Read on to know how to create a custom module in Drupal 8&9.