From e013545cfc324b6733cd0be8e34ec3eb3eda5ffa Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Fri, 5 Oct 2018 13:10:31 +0100 Subject: [PATCH] Adds property to [CoreTree] attribute that allows you to set the TreeGroup key - which will be from our constants --- src/Umbraco.Web/Trees/CoreTreeAttribute.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Umbraco.Web/Trees/CoreTreeAttribute.cs b/src/Umbraco.Web/Trees/CoreTreeAttribute.cs index 160f2a36d8..1b485aea6a 100644 --- a/src/Umbraco.Web/Trees/CoreTreeAttribute.cs +++ b/src/Umbraco.Web/Trees/CoreTreeAttribute.cs @@ -11,6 +11,11 @@ namespace Umbraco.Web.Trees [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] internal class CoreTreeAttribute : Attribute { + public string TreeGroup { get; set; } + public CoreTreeAttribute() + { + + } } }