RegisterSectionAttribute Constructor (String, Type, String) |
Registers a page builder section with a custom controller.
Namespace: Kentico.PageBuilder.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public RegisterSectionAttribute(
string identifier,
Type controllerType,
string name
)
Parameters
- identifier
- Type: SystemString
Unique identifier of the section definition. - controllerType
- Type: SystemType
Type of the section controller to register. - name
- Type: SystemString
Name of the registered section.
Remarks
Make sure to provide unique identifier for the section definition from the start.
This identifier is used within the page configuration and any further change can lead to incorrect configuration load.
Consider specifying identifier in format 'CompanyName_ModuleName_SectionName', e.g. 'Kentico_Content_SingleColumn'.
See Also