generate:plugin:rules:dataprocessor
Generate a plugin rule dataprocessor
使用方法:
drupal generate:plugin:rules:dataprocessor [options]
gprd
可用选项
选项 | 详细信息 |
---|---|
--module | 模块名 |
--class | Plugin class name |
--label | Plugin label |
--plugin-id | Plugin id |
例子
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" \