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

This commit is contained in:
Simon Vieille 2024-05-13 11:22:52 +02:00
parent c4ba316d7f
commit 0eedf5371a
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -139,6 +139,8 @@ use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
#[AutoconfigureTag('builder_block.widget')]
class CustomBlock extends BuilderBlock
{
// ...
public function buildVars(array $data)
{
$this->vars['bar'] = 'bar';