Class TagsDataController
A controller used for type-ahead values for tags
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Namespace: Umbraco.Cms.Web.BackOffice.PropertyEditors
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class TagsDataController : UmbracoAuthorizedApiController
Remarks
DO NOT inherit from UmbracoAuthorizedJsonController since we don't want to use the angularized json formatter as it causes problems.
Constructors
View SourceTagsDataController(ITagQuery)
Declaration
public TagsDataController(ITagQuery tagQuery)
Parameters
Type | Name | Description |
---|---|---|
ITagQuery | tagQuery |
Methods
View SourceGetTags(String, String, String)
Returns all tags matching tagGroup, culture and an optional query
Declaration
[AllowHttpJsonConfigration]
public IEnumerable<TagModel> GetTags(string tagGroup, string culture, string query = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | tagGroup | |
System.String | culture | |
System.String | query |
Returns
Type | Description |
---|---|
IEnumerable<TagModel> |