Making BlogPost and Page types "draftable" by default

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-11-04 15:25:16 -07:00
parent a60ce2141a
commit ec47091582

View File

@@ -218,6 +218,7 @@ namespace Orchard.Setup.Services {
.WithPart("CommentsPart")
.WithPart("TagsPart")
.WithPart("LocalizationPart")
.Draftable()
.Indexed()
);
contentDefinitionManager.AlterTypeDefinition("Page", cfg => cfg
@@ -228,6 +229,7 @@ namespace Orchard.Setup.Services {
.WithPart("TagsPart")
.WithPart("LocalizationPart")
.Creatable()
.Draftable()
.Indexed()
);
contentDefinitionManager.AlterPartDefinition("BodyPart", cfg => cfg