Skip to content

Instantly share code, notes, and snippets.

@DanLaufer
Last active February 23, 2019 18:15
Show Gist options
  • Save DanLaufer/627fe993ec98100181edf2ea67c5b4cd to your computer and use it in GitHub Desktop.
Save DanLaufer/627fe993ec98100181edf2ea67c5b4cd to your computer and use it in GitHub Desktop.
Drupal 8 - Cool Drupal Console commands
drupal generate:module
drupal generate:entity:content
drupal generate:entity:bundle
// create a module without having to answer questions
drupal generate:module \
--module="modulename" \
--machine-name="modulename" \
--module-path="/modules/custom" \
--description="My Awesome Module" \
--core="8.x" \
--package="Custom" \
--module-file \
--composer \
--test \
--twigtemplate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment