Skip to content

Commit 6c2eda0

Browse files
fix: description index (#4199)
`block_description` is undefined, the one to use is `description`
1 parent 213e4de commit 6c2eda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/BlockTypeGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function generate(array $parameters)
3737
$module = $parameters['module'];
3838
$class_name = $parameters['class_name'];
3939
$blockId = $parameters['block_id'];
40-
$description = $parameters['block_description'];
40+
$description = $parameters['description'];
4141
$parameters['machine_name'] = $blockId;
4242

4343
$this->renderFile(

0 commit comments

Comments
 (0)