From 048183eaa690d10e98d70d4aa71603e6d081fd15 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 13 Sep 2024 14:06:34 +0200 Subject: [PATCH] Add cross-link --- doc/functions/attribute.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/functions/attribute.rst b/doc/functions/attribute.rst index 6587921da..7757fa08f 100644 --- a/doc/functions/attribute.rst +++ b/doc/functions/attribute.rst @@ -3,8 +3,10 @@ .. warning:: - The ``attribute`` filter is deprecated as of Twig 3.15. Use the ``.`` - operator that now accepts any expression when wrapped with parenthesis. + The ``attribute`` filter is deprecated as of Twig 3.15. Use the + :ref:`dot operator ` that now accepts any expression + when wrapped with parenthesis. + Note that this filter will still be available in Twig 4.0 to allow a smoother upgrade path.