generate:plugin:rules:dataprocessor
Generate a plugin rule dataprocessor
Utilisation:
drupal generate:plugin:rules:dataprocessor [options]
gprd
Options disponibles
Option | Détails |
---|---|
--module | Le nom du module. |
--class | Plugin class name |
--label | Plugin label |
--plugin-id | Plugin id |
Exemples
Generate a user rule dataprocessor plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context
drupal generate:plugin:rules:dataprocessor \
--module="modulename" \
--class="DefaultDataprocessor" \
--label="Default dataprocessor" \
--plugin-id="default_dataprocessor" \