File tree 2 files changed +18
-3
lines changed
packages/typo3-docs-theme/resources/template/body/directive
tests/Integration/tests/viewhelper/expected
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 27
27
{% include " body/directive/viewhelper/viewhelper-source.html.twig" %}
28
28
{% endif %}
29
29
30
- {% if node .arguments %}
30
+ {% if node .arguments or node . allowsArbitraryArguments %}
31
31
<h2 >Arguments</h2 >
32
+
33
+ {% if node .allowsArbitraryArguments %}
34
+ <div class =" admonition info" role =" alert" >
35
+ <p class =" admonition-title" >Allows arbitrary arguments</p >
36
+ <p >This ViewHelper allows you to pass arbitrary arguments not defined below directly
37
+ to the HTML tag created. This includes custom `data-` arguments.</p >
38
+ </div >
39
+ {% endif %}
32
40
<p >The following arguments are available for the {{ node .tagName }} ViewHelper: </p >
33
41
{% for argument in node .arguments %}
34
42
{% include " body/directive/viewhelper/viewhelper-argument.html.twig" %}
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ <h2>Source code</h2>
95
95
</ p >
96
96
97
97
< h2 > Arguments</ h2 >
98
- < p > The following arguments are available for the split ViewHelper: </ p >
98
+
99
+ < p > The following arguments are available for the split ViewHelper: </ p >
99
100
< dl class ="confval ">
100
101
< dt id ="viewhelper-argument-typo3fluid-fluid-viewhelpers-splitviewhelper-value " class ="d-flex justify-content-between ">
101
102
< div class ="confval-header ">
@@ -233,7 +234,13 @@ <h2>Source code</h2>
233
234
</ p >
234
235
235
236
< h2 > Arguments</ h2 >
236
- < p > The following arguments are available for the link.external ViewHelper: </ p >
237
+
238
+ < div class ="admonition info " role ="alert ">
239
+ < p class ="admonition-title "> Allows arbitrary arguments</ p >
240
+ < p > This ViewHelper allows you to pass arbitrary arguments not defined below directly
241
+ to the HTML tag created. This includes custom `data-` arguments.</ p >
242
+ </ div >
243
+ < p > The following arguments are available for the link.external ViewHelper: </ p >
237
244
< dl class ="confval ">
238
245
< dt id ="viewhelper-argument-typo3-cms-fluid-viewhelpers-link-externalviewhelper-uri " class ="d-flex justify-content-between ">
239
246
< div class ="confval-header ">
You can’t perform that action at this time.
0 commit comments