File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ description : ' Generate a block content type'
2+ help : ' The <info>generate:block:type</info> command helps you generate a new block content type.'
3+ welcome : ' Welcome to the Drupal Block Type generator'
4+ options :
5+ module : ' The Module name.'
6+ class : ' Block type class name'
7+ block-label : ' Block content type label'
8+ block-description : ' Block content type description'
9+ block-id : ' Block id'
10+ questions :
11+ module : ' Enter the module name'
12+ class : ' Enter the block class name'
13+ block-label : ' Enter the block label'
14+ block-description : ' Enter the block description'
15+ block-id : ' Enter the block content type id'
16+ description : ' Description'
17+ default-value : ' Default value'
18+ messages :
19+ examples :
20+ - description : ' Generate a block content type specifying the module name'
21+ execution : |
22+ drupal generate:block:type \
23+ --module="modulename" \
24+ --class="DefaultBlock" \
25+ --label="Default block" \
26+ --block-id="default_block"
You can’t perform that action at this time.
0 commit comments