dcg
Drupal code generator. More information: https://github.com/Chi-teck/drupal-code-generator.
-
Start a wizard to choose what kind of code (e.g. module, service, form, etc.) to generate:
dcg
-
Directly specify the kind of code to generate:
dcg {{service|plugin|theme|module|form}}
-
Generate the code in a specific directory:
dcg --directory {{path/to/directory}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.