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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue