Interface IPublishedStatusFilteringService
Provides filtering operations to determine which published content items are available for display.
Namespace: Umbraco.Cms.Core.Services.Navigation
Assembly: Umbraco.Core.dll
Syntax
public interface IPublishedStatusFilteringService
Methods
View SourceFilterAvailable(IEnumerable<Guid>, string?)
Filters a collection of candidate content keys to return only those that are available for display.
Declaration
IEnumerable<IPublishedContent> FilterAvailable(IEnumerable<Guid> candidateKeys, string? culture)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Guid> | candidateKeys | The collection of content keys to filter. |
| string | culture | The culture to filter by, or |
Returns
| Type | Description |
|---|---|
| IEnumerable<IPublishedContent> | A collection of IPublishedContent items that are available for display. |