Sat, 12/21/2019 - 19:59
Command with drupal console
drupal gm --module <your module name>
// Welcome to the Drupal module generator
Enter the module machine name [notehub_note_event]:
>
Enter the module Path [modules/custom]:
>
Enter module description [My Awesome Module]:
Enter package name [Custom]:
>
Enter Drupal Core version [8.x]:
>
Do you want to generate a .module file? (yes/no) [yes]:
>
Define module as feature (yes/no) [no]:
>
Enter Features bundle name [default]:
>
Do you want to add a composer.json file to your module? (yes/no) [yes]:
>
Would you like to add module dependencies? (yes/no) [no]:
>
Do you want to generate a unit test class? (yes/no) [yes]:
>
Do you want to generate a themeable template? (yes/no) [yes]:
>
Do you want proceed with the operation? (yes/no) [yes]:
>
Authored by
Tags