generator-drupal-module

1.0.1 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i generator-drupal-module

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • andeersg