Class TagsDataController
- Namespace
- Umbraco.Cms.Web.BackOffice.PropertyEditors
- Assembly
- Umbraco.Web.BackOffice.dll
A controller used for type-ahead values for tags
public class TagsDataController : UmbracoAuthorizedApiController
- Inheritance
-
TagsDataController
- Inherited Members
Remarks
DO NOT inherit from UmbracoAuthorizedJsonController since we don't want to use the angularized json formatter as it causes problems.
Constructors
TagsDataController(ITagQuery)
public TagsDataController(ITagQuery tagQuery)
Parameters
tagQueryITagQuery
Methods
GetTags(string, string?, string?)
Returns all tags matching tagGroup, culture and an optional query
public IEnumerable<TagModel> GetTags(string tagGroup, string? culture, string? query = null)
Parameters
Returns
- IEnumerable<TagModel>