From 42fcffe262990b18e4e0df9b1ed0d5ae6a54915b Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Wed, 6 Nov 2024 02:02:56 +0300 Subject: [PATCH] Deprecate LiquidCultureAccessor to avoid breaking changes --- .../LiquidCultureAccessor.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidCultureAccessor.cs diff --git a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidCultureAccessor.cs b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidCultureAccessor.cs new file mode 100644 index 00000000000..8ca02563f38 --- /dev/null +++ b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidCultureAccessor.cs @@ -0,0 +1,9 @@ +namespace OrchardCore.Liquid; + +/// +/// This is a placeholder class that allows modules to extend the `Culture` property in the current Liquid scope. +/// +[Obsolete("This class is obsolete and will be removed in a future version. Use the `Culture` property in the current Liquid scope instead.", error: true)] +public class LiquidCultureAccessor +{ +}