From 30813a832fdb1244e84cbcc012cd103d5e9d673d Mon Sep 17 00:00:00 2001 From: Daniel Ramirez Date: Mon, 7 Oct 2019 18:45:30 -0500 Subject: [PATCH] translations for [generate:plugin:derivative] (#256) --- translations/generate.plugin.derivative.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 translations/generate.plugin.derivative.yml diff --git a/translations/generate.plugin.derivative.yml b/translations/generate.plugin.derivative.yml new file mode 100644 index 0000000..1515d99 --- /dev/null +++ b/translations/generate.plugin.derivative.yml @@ -0,0 +1,29 @@ +description: 'Generate a custom block plugin derivative' +help: 'The generate:plugin:derivative command helps you generate a new custom plugin block derivative' +welcome: 'Welcome to the Drupal Plugin Block Derivative generator' +options: + module: 'The Module name.' + class: 'The Class name.' + block_label: 'The Block label' + block_description: 'The Block description' + block_id: 'The Block id' +questions: + module: 'Enter the module name' + class: 'Enter the plugin block derivative class name' + block_label: 'Enter the Block label' + block_description: 'Enter the Block description' + block_id: 'Enter the Block id' +suggestions: + class: 'CustomBlockDerivative' + block_description: 'My custom block derivative.' + block_label: 'Custom block derivative' + block_id: 'custom_block_derivative' +examples: + - description: 'Generate a custom view field plugin specifying the module name, the class, a title and its description' + execution: | + drupal generate:plugin:views:field \ + --module="modulename" \ + --class="CustomBlockDerivative" \ + --block-label="Custom block derivative" \ + --block-description="My custom block derivative." \ + --block-id="custom_block_derivative"