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.