Does anyone know if we can create a custom attribute to show/hide a page type that depends on a custom condition? I would like to have an attribute like:
[CustomAvailableContentType]
public class ProductPage : StandardPage, IHasRelatedContent
{
}
Does anyone know if we can create a custom attribute to show/hide a page type that depends on a custom condition? I would like to have an attribute like:
[CustomAvailableContentType]
public class ProductPage : StandardPage, IHasRelatedContent
{
}