Skip to content

Commit 6d4728d

Browse files
authored
Update passing-data-to-your-hookables.md (#271)
Fix indication in line on example code.
2 parents defc5c4 + e8e729c commit 6d4728d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/twig-hooks/passing-data-to-your-hookables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The context data from these two sources are merged and passed with the metadata
3535
```
3636
{% endcode %}
3737

38-
So, as we see at `line 8` we define the `index.form` hook. But also, we pass the `form` with using the `with` keyword. Thanks to it, we are able to pass multiple data to hookables that will hook into the `index.form` hook.
38+
So, as we see at `line 11` we define the `index.form` hook. But also, we pass the `form` with using the `with` keyword. Thanks to it, we are able to pass multiple data to hookables that will hook into the `index.form` hook.
3939

4040
{% hint style="info" %}
4141
`with { form }` is a short-hand for `with { form: form }`, so the key for our `FormView` in the context data bag will be `form.`

0 commit comments

Comments
 (0)