Class DisabledFeatures
Represents disabled features.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Features
Assembly: Umbraco.Core.dll
Syntax
public class DisabledFeatures
Constructors
View SourceDisabledFeatures()
Initializes a new instance of the DisabledFeatures class.
Declaration
public DisabledFeatures()
Properties
View SourceControllers
Gets the disabled controllers.
Declaration
public TypeList<IUmbracoFeature> Controllers { get; }
Property Value
Type | Description |
---|---|
TypeList<IUmbracoFeature> |
DisableDevicePreview
Disables the device preview feature of previewing.
Declaration
public bool DisableDevicePreview { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DisableTemplates
If true, all references to templates will be removed in the back office and routing
Declaration
public bool DisableTemplates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |