generate:plugin:rules:dataprocessor
Generate a plugin rule dataprocessor
Usage:
drupal generate:plugin:rules:dataprocessor [options]
gprd
Available options
Option | Details |
---|---|
--module | Nom del mòdul. |
--class | Plugin class name |
--label | Plugin label |
--plugin-id | Plugin id |
Examples
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" \