Skip to content

migration

Generates the yml and PHP class for a Migration

Examples

  • drush generate migration. Generates the yml and PHP class for a Migration

Options

  • --answer=ANSWER. Answer to generator question.
  • --destination=DESTINATION. Absolute path to a base directory for file writing.
  • --dry-run. Output the generated code but not save it to file system.

Topics