generate:module:file

Generate a .module file

Usage:

drupal generate:module:file [options]
gmf

Available options

Option Details
--module The Module name.

Examples

  • Generate the .module file specifying the module name
    drupal generate:module:file  \
    --module="modulename"