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