Skip to content

entity:bundle-class

11.0+

Generate a bundle class for a content entity.

Examples

  • drush generate entity:bundle-class. Generate a bundle class for a content entity.

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

  • bundle-class