Skip to content

Commit

Permalink
update phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 5, 2024
1 parent dcaed4a commit 4394a51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/BaseBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ BaseBlock::setView(string|null file, array data = [], string wrapperTagName = 'd

| Parameter | Type | Description |
|-----------|------|-------------|
| file | `string\|null` | Absolute path to current blocks view file. |
| file | `string\|null` | Absolute path to current blocks view file.
* Passing `null` returns an empty string
* Passing an empty string or non-existent file returns just the wrapper div (with child blocks if available) |
| data | `array` | Attributes saved in the editor plus any other variables added in the block class. |
| wrapperTagName | `string` | Block wrapper element tag name. |

Expand Down

0 comments on commit 4394a51

Please sign in to comment.