generate:plugin:views:field

Generate a custom plugin view field.

Usage:

drupal generate:plugin:views:field  [options]
gpvf

Available options

OptionDetails

--module

The Module name.

--fields

Fields definition (class name, title and description).

Examples

Generate a custom view field plugin specifying the module name, the class, a title and its description

drupal generate:plugin:views:field  \
  --module="modulename"  \
  --class="CustomViewsField"  \
  --title="Custom views field"  \
  --description="My awesome custom views field plugin."