Document toolboxDocument toolbox

This article is for Data Center. Visit Cloud

structure-item-type

This module type lets you declare a new item type. Items of that type can then be used in structures.

Example

<structure-item-type key="type-book" name="itemtype:Book"
    class="com.mycompany.structure.books.BookItemType"/>

Element

Required?

Description

@key

Yes

The unique identifier of the plugin module. Full module key will define the itemType part of ItemIdentity.

@name

No

The human-readable name of the plugin module.

@class

Yes

The class that implements the support for the item type. Must implement StructureItemType.