Merge branch 'wip-u4-1949' of https://github.com/AndyButland/Umbraco-CMS into AndyButland-wip-u4-1949
This commit is contained in:
@@ -1305,6 +1305,25 @@ namespace Umbraco.Core.Configuration
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the default document type property used when adding new properties through the back-office
|
||||
/// </summary>
|
||||
/// <value>Configured text for the default document type property</value>
|
||||
/// <remarks>If undefined, 'Textstring' is the default</remarks>
|
||||
public static string DefaultDocumentTypeProperty
|
||||
{
|
||||
get
|
||||
{
|
||||
var defaultDocumentTypeProperty = GetKey("/settings/content/defaultDocumentTypeProperty");
|
||||
if (string.IsNullOrEmpty(defaultDocumentTypeProperty))
|
||||
{
|
||||
defaultDocumentTypeProperty = "Textstring";
|
||||
}
|
||||
|
||||
return defaultDocumentTypeProperty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Configuration regarding webservices
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user