generate:plugin:views:field

Génère un plugin personnalisé de champ de vue.

Utilisation:

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

Options disponibles

OptionDétails

--module

Le nom du module.

--fields

Fields definition (class name, title and description).

Exemples

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."