generate:plugin:field

Generate field type, widget and formatter plugins.

Usage:

$ drupal generate:plugin:field [options]
$ gpf

Available options

Option Details
--module The Module name.
--type-class Field type plugin class name
--type-label Field type plugin label
--type-plugin-id Field type plugin id
--type-description commands.generate.plugin.field.options.type-type-description
--formatter-class commands.generate.plugin.field.options.class
--formatter-label Field formatter plugin label
--formatter-plugin-id Field formatter plugin id
--widget-class Field formatter plugin class name
--widget-label Field widget plugin label
--widget-plugin-id Field widget plugin id
--field-type Field type the formatter and widget plugin can be used with
--default-widget Default field widget of the field type plugin
--default-formatter Default field formatter of field type plugin