generate:plugin:views:field
Generar un connector de camp de vista predeterminat.
Usage:
drupal generate:plugin:views:field [options]
gpvf
Available options
Option | Details |
---|---|
--module | Nom del mòdul. |
--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."