We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda7c1a commit 49a311cCopy full SHA for 49a311c
reference/twig_reference.rst
@@ -286,6 +286,24 @@ expression
286
Creates an :class:`Symfony\\Component\\ExpressionLanguage\\Expression` related
287
to the :doc:`ExpressionLanguage component </components/expression_language>`.
288
289
+impersonation_path
290
+~~~~~~~~~~~~~~~~~~
291
+
292
+.. code-block:: twig
293
294
+ {{ impersonation_path(identifier) }}
295
296
+``identifier``
297
+ **type**: ``string``
298
299
+Generates a URL that you can visit to
300
+:doc:`impersonate a user </security/impersonating_user>`, identified by the
301
+``identifier`` argument.
302
303
+.. versionadded:: 6.4
304
305
+ The ``impersonation_path()`` function was introduced in Symfony 6.4.
306
307
impersonation_exit_path
308
~~~~~~~~~~~~~~~~~~~~~~~
309
0 commit comments