X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.rules.action.yml;fp=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.rules.action.yml;h=aa5d942af0b3a875195f9a6b02129c4fa270570d;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/drupal/console-en/translations/generate.plugin.rules.action.yml b/vendor/drupal/console-en/translations/generate.plugin.rules.action.yml new file mode 100644 index 000000000..aa5d942af --- /dev/null +++ b/vendor/drupal/console-en/translations/generate.plugin.rules.action.yml @@ -0,0 +1,41 @@ +description: 'Generate a plugin rule action' +help: 'The generate:plugin:rulesaction command helps you generate a new plugin rule action.' +welcome: 'Welcome to the Drupal Plugin Rules Action generator' +options: + module: common.options.module + class: 'Plugin class' + label: 'Plugin label' + plugin-id: 'Plugin id' + category: 'Plugin category' + context: 'Plugin context' +questions: + module: common.questions.module + class: 'Enter plugin class' + label: 'Enter the plugin label' + plugin-id: 'Enter the plugin id' + category: 'Enter plugin category' + context: 'Would you like to add a context?' + another-context: 'Would you like to add another context?' + context-name: 'Enter context name' + context-type: 'Enter context type (entity, entity:user_role, entity:user, language, any, string and etc.)' + context-label: 'Enter context label' + context-description: 'Enter context description' +examples: + - description: 'Generate a user rule action plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context' + execution: | + drupal generate:plugin:rules:action \ + --module="modulename" \ + --class="DefaultAction" \ + --label="Default Action" \ + --plugin-id="default_action" \ + --category="Action category" \ + --context='"name":"user", "type":"entity:user", "label":"Context label", "description":"Context description"' + - description: 'Generate a entity rule action plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context' + execution: | + drupal generate:plugin:rules:action \ + --module="modulename" \ + --class="DefaultAction" \ + --label="Default Action" \ + --plugin-id="default_action" \ + --category="Action category" \ + --context='"entity":"node", "type":"entity", "label":"Context label", "description":"Context description"'