Files
Umbraco-CMS/src/Umbraco.Core/Configuration/UmbracoSettings/TourConfigElement.cs
2019-01-31 01:37:38 +11:00

15 lines
550 B
C#

using System.Configuration;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class TourConfigElement : UmbracoConfigurationElement, ITourSection
{
//disabled by default so that upgraders don't get it enabled by default
// TODO: we probably just want to disable the initial one from automatically loading ?
[ConfigurationProperty("enable", DefaultValue = false)]
public bool EnableTours => (bool)this["enable"];
// TODO: We could have additional filters, etc... defined here
}
}