The generate:plugin:fieldwidget command: Generate field widget plugin.
Usage:
$ drupal generate:plugin:fieldwidget [options]
Option | Details |
---|---|
module | The Module name. |
class-name | Plugin class name |
label | Plugin label |
plugin-id | Plugin id |
field-type | Field type the plugin can be used with |