Skip to content

Commit

Permalink
allow users to setup default content type settings visibility (#15733)
Browse files Browse the repository at this point in the history
  • Loading branch information
lampersky authored Apr 13, 2024
1 parent fe901a1 commit 9bcf6f7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ namespace OrchardCore.ContentManagement.Metadata.Models;

public class ContentTypeDefinitionDriverOptions
{
public bool ShowCreatable { get; set; }
public bool ShowCreatable { get; set; } = true;

public bool ShowListable { get; set; }
public bool ShowListable { get; set; } = true;

public bool ShowDraftable { get; set; }
public bool ShowDraftable { get; set; } = true;

public bool ShowVersionable { get; set; }
public bool ShowVersionable { get; set; } = true;

public bool ShowSecurable { get; set; }
public bool ShowSecurable { get; set; } = true;
}

0 comments on commit 9bcf6f7

Please sign in to comment.