File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments