Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // WIP - Work in Progress -
- // Generating a new Drupal module.
- drupal generate:module
- drupal gm
- // Example
- drupal generate:module
- --module="my_custom_module_name" \
- --machine-name="my_custom_module_machine_name" \
- --module-path="web/modules/custom" \
- --description="My Custom Module" --core="8.x" \
- --package="My Custom Package" \
- --module-file
- // Generating a new Drupal Form.
- drupal generate:form
- drupal gf
- // Example
- drupal generate:form
- --module="my_custom_module_name" \
- --class="ClassForm" \
- --form-id="default_form" \
- --config-file \
- --path="/my_custom_module_name/form/default"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement