Class ContentBlueprintTreeController
- Namespace
- Umbraco.Cms.Web.BackOffice.Trees
- Assembly
- Umbraco.Web.BackOffice.dll
The content blueprint tree controller
[Authorize(Policy = "SectionAccessContent")]
[Tree("settings", "contentBlueprints", SortOrder = 12, TreeGroup = "settingsGroup")]
public class ContentBlueprintTreeController : TreeController, ITree
- Inheritance
-
ContentBlueprintTreeController
- Implements
-
ITree
- Inherited Members
Remarks
This authorizes based on access to the content section even though it exists in the settings
Constructors
ContentBlueprintTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IMenuItemCollectionFactory, IContentService, IContentTypeService, IEntityService, IEventAggregator)
public ContentBlueprintTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IContentService contentService, IContentTypeService contentTypeService, IEntityService entityService, IEventAggregator eventAggregator)
Parameters
localizedTextServiceILocalizedTextServiceumbracoApiControllerTypeCollectionUmbracoApiControllerTypeCollectionmenuItemCollectionFactoryIMenuItemCollectionFactorycontentServiceIContentServicecontentTypeServiceIContentTypeServiceentityServiceIEntityServiceeventAggregatorIEventAggregator
Methods
CreateRootNode(FormCollection)
protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)
Parameters
queryStringsFormCollection
Returns
- ActionResult<TreeNode>
GetMenuForNode(string, FormCollection)
protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
Parameters
idstringqueryStringsFormCollection
Returns
- ActionResult<MenuItemCollection>
GetTreeNodes(string, FormCollection)
protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)
Parameters
idstringqueryStringsFormCollection
Returns
- ActionResult<TreeNodeCollection>