File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
``block ``
2
2
=========
3
3
4
- .. versionadded: 1.28
4
+ .. versionadded :: 1.28
5
5
Using ``block `` with the ``defined `` test was added in Twig 1.28.
6
6
7
- .. versionadded: 1.28
7
+ .. versionadded :: 1.28
8
8
Support for the template argument was added in Twig 1.28.
9
9
10
10
When a template uses inheritance and if you want to print a block multiple
Original file line number Diff line number Diff line change 1
1
``constant ``
2
2
============
3
3
4
- .. versionadded: 1.12.1
4
+ .. versionadded :: 1.12.1
5
5
constant now accepts object instances as the second argument.
6
6
7
- .. versionadded: 1.28
7
+ .. versionadded :: 1.28
8
8
Using ``constant `` with the ``defined `` test was added in Twig 1.28.
9
9
10
10
``constant `` returns the constant value for a given string:
Original file line number Diff line number Diff line change 1
1
``constant ``
2
2
============
3
3
4
- .. versionadded: 1.13.1
4
+ .. versionadded :: 1.13.1
5
5
constant now accepts object instances as the second argument.
6
6
7
7
``constant `` checks if a variable has the exact same value as a constant. You
You can’t perform that action at this time.
0 commit comments