FieldDefinitionCreateStruct Class
Returns a structure used to create a new Field Definition. See ContentTypeService.addFieldDefinition
Constructor
FieldDefinitionCreateStruct
(
-
identifier
-
fieldType
-
fieldGroup
-
names
Parameters:
-
identifier
Stringunique field definiton identifer (e.g. "my-field")
-
fieldType
Stringidentifier of existing field type (e.g. "ezstring", "ezdate")
-
fieldGroup
Stringidentifier of existing field group (e.g. "content", "meta")
-
names
ArrayMulti language value (see example in ContentTypeService.newFieldDefintionCreateStruct)