add doc for builder
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2024-05-15 23:27:03 +02:00
parent 0469c32dc2
commit 363450a62c
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -80,6 +80,8 @@ class YourPage extends Page
## Creating custom block
The easy way is to run: `php bin/console make:builder-block`.
First, create a service which extends `App\Core\BuilderBlock\BuilderBlock` and tagged `builder_block.widget`.
Then, implement the method `configure` as below.