generate:plugin:imageformatter

Génère un plugin de formateur d'image.

Utilisation:

drupal generate:plugin:imageformatter [options]
  gpif

Options disponibles

Option Détails
--module Le nom du module.
--class Nom de la classe du plugin
--label Label du plugin
--plugin-id Id du plugin

Exemples

Generate a image formatter plugin specifying the module name, the class, its label and the plugin id

drupal generate:plugin:imageformatter  \
  --module="modulename"  \
  --class="ExampleImageFormatter"  \
  --label="Example image formatter"  \
  --plugin-id="example_image_formatter"