Skip to content

Commit cea1606

Browse files
authored
Twig doc 2.x → 3.x
1 parent 8511fd5 commit cea1606

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api/field_type_form_and_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The block can receive the following variables:
156156

157157
### Reusing blocks
158158

159-
For easier Field Type template development you can take advantage of all defined blocks by using the [`block()` function](https://twig.symfony.com/doc/2.x/functions/block.html).
159+
For easier Field Type template development you can take advantage of all defined blocks by using the [`block()` function](https://twig.symfony.com/doc/3.x/functions/block.html).
160160

161161
You can for example use `simple_block_field`, `simple_inline_field` or `field_attributes` blocks provided in [`content_fields.html.twig`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Bundle/EzPublishCoreBundle/Resources/views/content_fields.html.twig#L477).
162162

docs/guide/content_rendering/twig_function_reference/twig_functions_reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Built-in Twig functions speed up rendering content in Twig template
44

55
# Twig function reference
66

7-
In addition to the [native functions provided by Twig](https://twig.symfony.com/doc/2.x/functions/index.html),
7+
In addition to the [native functions provided by Twig](https://twig.symfony.com/doc/3.x/functions/index.html),
88
and [Twig extensions provided by Symfony]([[= symfony_doc =]]/reference/twig_reference.html),
99
[[= product_name =]] offers the following custom Twig functions and filters:
1010

docs/tutorials/platform_beginner/3_customize_the_front_page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ To add one template to another, edit `templates/full/home_page.html.twig` and re
235235
{% endblock %}
236236
```
237237

238-
The templating language Twig supports [template inheritance](https://twig.symfony.com/doc/2.x/templates.html#template-inheritance).
238+
The templating language Twig supports [template inheritance](https://twig.symfony.com/doc/3.x/templates.html#template-inheritance).
239239
Templates can contain named blocks. Any template can extend other templates, and modify the blocks defined by its parents.
240240

241241
The code above points to `main_layout.html.twig` in line 1. It also wraps your "Hello world" message in a `content` block.

0 commit comments

Comments
 (0)