View Source
Class ContentBlueprintTreeController
The content blueprint tree controller
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "SectionAccessContent")]
[PluginController("UmbracoTrees")]
public class ContentBlueprintTreeController : TreeController, IUmbracoFeature, IDiscoverable, ITree
Constructors
View Source
Declaration
public ContentBlueprintTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IContentService contentService, IContentTypeService contentTypeService, IEntityService entityService, IEventAggregator eventAggregator)
Parameters
Methods
View Source
CreateRootNode(FormCollection)
Declaration
protected override ActionResult<TreeNode> CreateRootNode(FormCollection queryStrings)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult<TreeNode> |
|
View Source
Declaration
protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
View Source
GetTreeNodes(String, FormCollection)
Declaration
protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns