service:custom¶
Generates a custom Drupal service
Examples¶
drush generate service:custom
. Generates a custom Drupal service
Options¶
- ** --answer=ANSWER**. Answer to generator question.
- ** --destination=DESTINATION**. Path to a base directory for file writing.
- ** --dry-run**. Output the generated code but not save it to file system.
Topics¶
- Instructions on creating your own Drush Generators. (docs:generators)
Aliases¶
- custom-service