This is a small Yeoman generator to create a Drupal module.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators
test
.editorconfig
.eslintrc
.gitattributes
.gitignore
.jscsrc
.travis.yml
README.md
package.json

README.md

Drupal Module Generator!

Build Status Coverage Status Code Climate

Fast and easy way to setup a module scaffolding with the most important files and functions you need to start developing.

Usage

Install Yeoman and this generator:

npm install -g yo generator-drupal-module

And then go to sites/all/modules and type:

yo drupal-module

And answer some questions to get started.

Generated file structure:

For now it creates .info-file, .module-file and .install-file with a couple of hooks that are pretty common.

Modulefolder
  |- modulename.info
  |- modulename.install
  |- modulename.module
  |- templates

Planned:

  1. More hooks
  2. Other useful stuff? (know of something you think others also could benefit from? create an issue)