From 0d3b80401ee8a34b2b0978ede7fac8c49f78829b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilberto=20Mangones=20Rodr=C3=ADguez?= Date: Fri, 27 Sep 2019 14:50:12 -0500 Subject: [PATCH] [generate:block:type] New command (#254) * Translate command generate:block:type * organized translation on block content type --- translations/generate.block.type.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 translations/generate.block.type.yml diff --git a/translations/generate.block.type.yml b/translations/generate.block.type.yml new file mode 100644 index 0000000..9957fdc --- /dev/null +++ b/translations/generate.block.type.yml @@ -0,0 +1,26 @@ +description: 'Generate a block content type' +help: 'The generate:block:type command helps you generate a new block content type.' +welcome: 'Welcome to the Drupal Block Type generator' +options: + module: 'The Module name.' + class: 'Block type class name' + block-label: 'Block content type label' + block-description: 'Block content type description' + block-id: 'Block id' +questions: + module: 'Enter the module name' + class: 'Enter the block class name' + block-label: 'Enter the block label' + block-description: 'Enter the block description' + block-id: 'Enter the block content type id' + description: 'Description' + default-value: 'Default value' +messages: +examples: + - description: 'Generate a block content type specifying the module name' + execution: | + drupal generate:block:type \ + --module="modulename" \ + --class="DefaultBlock" \ + --label="Default block" \ + --block-id="default_block" \ No newline at end of file