generate:plugin:fieldtype
The generate:plugin:fieldtype command Generate field type plugin.
Usage:
$ drupal generate:plugin:fieldtype [options]
Available options
| Option | Details |
|---|---|
| --module | The Module name. |
| --class | Plugin class name |
| --label | Plugin label |
| --plugin-id | Plugin id |
| --description | Plugin Description |
| --default-widget | Default field widget of this plugin |
| --default-formatter | Default field formatter of this plugin |