mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Changed a parameter name
--HG-- branch : dev
This commit is contained in:
@@ -6,8 +6,8 @@ namespace Orchard.Core.Contents.Extensions {
|
|||||||
public static ContentTypeDefinitionBuilder Creatable(this ContentTypeDefinitionBuilder builder, bool creatable = true) {
|
public static ContentTypeDefinitionBuilder Creatable(this ContentTypeDefinitionBuilder builder, bool creatable = true) {
|
||||||
return builder.WithSetting("ContentTypeSettings.Creatable", creatable.ToString());
|
return builder.WithSetting("ContentTypeSettings.Creatable", creatable.ToString());
|
||||||
}
|
}
|
||||||
public static ContentPartDefinitionBuilder Attachable(this ContentPartDefinitionBuilder builder, bool creatable = true) {
|
public static ContentPartDefinitionBuilder Attachable(this ContentPartDefinitionBuilder builder, bool attachable = true) {
|
||||||
return builder.WithSetting("ContentPartSettings.Attachable", creatable.ToString());
|
return builder.WithSetting("ContentPartSettings.Attachable", attachable.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user