generate:entity:bundle

Generate a new content type (node / entity bundle)

Usage:

drupal generate:entity:bundle  [options]
geb

Available options

OptionDetails

--module

モジュール名

--bundle-name

The content type's machine name

--bundle-title

The content type's human-readable name

Examples

Generate bundle entity specifying the module, the bundle name and its title

drupal generate:entity:bundle  \
  --module="modulename"  \
  --bundle-name="default"  \
  --bundle-title="default"