Skip to content

Commit

Permalink
Add the missing versionadded directive
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jan 3, 2025
1 parent 18cb912 commit ddf1ad3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ can be found in :ref:`security-template`.
is_granted_for_user
~~~~~~~~~~~~~~~~~~~

.. versionadded:: 7.3

The ``is_granted_for_user()`` function was introduced in Symfony 7.3.

.. code-block:: twig
{{ is_granted_for_user(user, attribute, subject = null, field = null) }}
Expand Down

0 comments on commit ddf1ad3

Please sign in to comment.