This interface provides #tag support for the content type. It provides a controller that gives privileged access to several methods not available in the API.
IHashTaggableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IHashTaggableContentType : IContentType, IPlugin, ITaggableContentType { void SetController(IHashTagController controller); }
Methods
void SetController(IHashTagController controller);
This method is called each time the plugin is loaded. The given controller provides privileged access to hash tag related methods and should be saved as a class variable and used later. The controller is used to retrieve hash tags from text, remove them from text that shouldn’t have #tag links (like a content title), update the tags on a piece of content, and render the #tags. These methods should be used when creating, updating, and rendering content.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
controller | IHashTagController | Controller | Required |