Drupal Module Builder - drush plugin
For any Drupal dev, creating the scaffolding for a new module can be a repeated and time-waisting procedure.Module builder as a drush plugin offers a really cool and quick way to create your module files or even type in for you the first hooks like:
drush mb my_module menu cron form_alter
This will create module code and files like .info file with hookmenu, hookcron, hookformalter straight from Drupal API, or you could be more specific like
drush mb my_module menu cron --write --name="My module" --dep="forum views"
This would add a dependency to the module and alter is name in the .info file.
Written by Pan Chronopoulos
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Drush
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#