The generate:plugin:fieldformatter command: Generate field formatter plugin.
Usage:
$ drupal generate:plugin:fieldformatter [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 |