Skip to content

Commit

Permalink
Translation for generate:plugin:rules:dataprocessor command (#192)
Browse files Browse the repository at this point in the history
* Replace wrong help text for debug.test.yml

* Add generate.plugin.rules.dataprocessor translation file
  • Loading branch information
LOBsTerr authored and enzolutions committed Apr 8, 2019
1 parent d6c5d6f commit 13a3659
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions translations/generate.plugin.rules.dataprocessor.yml
@@ -0,0 +1,24 @@
description: 'Generate a plugin rule dataprocessor'
help: 'The <info>generate:plugin:rules:dataprocessor</info> command helps you generate a new Plugin rule dataprocessor.'
welcome: 'Welcome to the Drupal Plugin Rules Dataprocessor generator'
options:
module: common.options.module
class: 'Plugin class name'
label: 'Plugin label'
plugin-id: 'Plugin id'
category: 'Plugin category'
context: 'Plugin context'
type: 'Dataprocessor Type (user or node)'
questions:
module: 'Enter the module name'
class: 'Enter the plugin class name'
label: 'Enter the plugin label'
plugin-id: 'Enter the plugin id'
examples:
- description: 'Generate a user rule dataprocessor plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context'
execution: |
drupal generate:plugin:rules:dataprocessor \
--module="modulename" \
--class="DefaultDataprocessor" \
--label="Default dataprocessor" \
--plugin-id="default_dataprocessor" \

0 comments on commit 13a3659

Please sign in to comment.