add doc for block builder vars
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
c4ba316d7f
commit
0eedf5371a
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue