Skip to content

plugin:rest-resource

Generates rest resource plugin

Examples

  • drush generate plugin:rest-resource. Generates rest resource plugin

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

Aliases

  • rest-resource