Skip to content

Commit

Permalink
bug #20467 [Twig] [Twig Reference] fix path parameter and add example…
Browse files Browse the repository at this point in the history
… in asset v… (Sarah-eit)

This PR was submitted for the 5.4 branch but it was squashed and merged into the 6.4 branch instead.

Discussion
----------

[Twig] [Twig Reference] fix path parameter and add example in asset v…

Fix #20465

Commits
-------

b4d7d4f [Twig] [Twig Reference] fix path parameter and add example in asset v…
  • Loading branch information
OskarStark committed Dec 16, 2024
2 parents e17ff0c + b4d7d4f commit 0a53599
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ asset_version

.. code-block:: twig
{{ asset_version(packageName = null) }}
{{ asset_version(path, packageName = null) }}
``path``
**type**: ``string``
``packageName`` *(optional)*
**type**: ``string`` | ``null`` **default**: ``null``

Expand Down

0 comments on commit 0a53599

Please sign in to comment.