Interface IApiContentNameProvider
Defines a provider that retrieves the name of content items for the Delivery API.
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiContentNameProvider
Methods
View SourceGetName(IPublishedContent)
Gets the name of the specified published content.
Declaration
string GetName(IPublishedContent content)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishedContent | content | The published content to get the name for. |
Returns
| Type | Description |
|---|---|
| string | The name of the content. |