Skip to content

Commit 30813a8

Browse files
nequetemeenzolutions
authored andcommitted
translations for [generate:plugin:derivative] (#256)
1 parent 0d3b804 commit 30813a8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
description: 'Generate a custom block plugin derivative'
2+
help: 'The <info>generate:plugin:derivative</info> command helps you generate a new custom plugin block derivative'
3+
welcome: 'Welcome to the Drupal Plugin Block Derivative generator'
4+
options:
5+
module: 'The Module name.'
6+
class: 'The Class name.'
7+
block_label: 'The Block label'
8+
block_description: 'The Block description'
9+
block_id: 'The Block id'
10+
questions:
11+
module: 'Enter the module name'
12+
class: 'Enter the plugin block derivative class name'
13+
block_label: 'Enter the Block label'
14+
block_description: 'Enter the Block description'
15+
block_id: 'Enter the Block id'
16+
suggestions:
17+
class: 'CustomBlockDerivative'
18+
block_description: 'My custom block derivative.'
19+
block_label: 'Custom block derivative'
20+
block_id: 'custom_block_derivative'
21+
examples:
22+
- description: 'Generate a custom view field plugin specifying the module name, the class, a title and its description'
23+
execution: |
24+
drupal generate:plugin:views:field \
25+
--module="modulename" \
26+
--class="CustomBlockDerivative" \
27+
--block-label="Custom block derivative" \
28+
--block-description="My custom block derivative." \
29+
--block-id="custom_block_derivative"

0 commit comments

Comments
 (0)