Enables scripted content fragments to use container types
Properties
Name | Access | Type | Description |
---|---|---|---|
Current | Read | ContainerType | The current contextual container type |
Methods
Get
Retrieves a container type by its identifier
Velocity
#set($containerTypeResponse = $core_v2_containerType.Get($contentContainerTypeId))
JavaScript
var containerTypeResponse = core_v2_containerType.Get(contentContainerTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentContainerTypeId | Guid | Container type identifier | Required |
Returns
List
Lists available container types
Velocity
#set($iApiListResponse = $core_v2_containerType.List())
JavaScript
var iApiListResponse = core_v2_containerType.List();