Skip to content

andeersg/generator-drupal-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

This is a small Yeoman generator to create a Drupal module.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6