[ContentElement]

Properties

implementationClassName

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.implementationClassName
Data type
string
Needed by
Frontend/ Backend (form editor)
Overwritable within form definition
No
form editor can write this property into the form definition (for prototype 'standard')
No
Mandatory
Yes
Default value (for prototype 'standard')
ContentElement:
  implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
Copied!
Description
Classname which implements the form element.

properties.contentElementUid

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.properties.contentElementUid
Data type
string
Needed by
Frontend/ Backend (form editor)
Overwritable within form definition
Yes
form editor can write this property into the form definition (for prototype 'standard')
Yes
Mandatory
Yes
Default value (for prototype 'standard')
ContentElement:
  properties:
    contentElementUid: ''
Copied!
Description
The uid of the content element which should be rendered.

formEditor

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor
Data type
array
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    editors:
      100:
        identifier: header
        templateName: Inspector-FormElementHeaderEditor
      300:
        identifier: contentElement
        templateName: Inspector-Typo3WinBrowserEditor
        label: formEditor.elements.ContentElement.editor.contentElement.label
        buttonLabel: formEditor.elements.ContentElement.editor.contentElement.buttonLabel
        browsableType: tt_content
        propertyPath: properties.contentElementUid
        propertyValidatorsMode: OR
        propertyValidators:
          10: Integer
          20: FormElementIdentifierWithinCurlyBracesExclusive
      9999:
        identifier: removeButton
        templateName: Inspector-RemoveElementEditor
    predefinedDefaults:
      properties:
        contentElementUid: ''
    label: formEditor.elements.ContentElement.label
    group: custom
    groupSorting: 700
    iconIdentifier: form-content-element
Copied!

formEditor.editors.100

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.100
Data type
array/ [FormElementHeaderEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    editors:
      100:
        identifier: header
        templateName: Inspector-FormElementHeaderEditor
Copied!

formEditor.editors.300

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.300
Data type
array/ [Typo3WinBrowserEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    editors:
      300:
        identifier: contentElement
        templateName: Inspector-Typo3WinBrowserEditor
        label: formEditor.elements.ContentElement.editor.contentElement.label
        buttonLabel: formEditor.elements.ContentElement.editor.contentElement.buttonLabel
        browsableType: tt_content
        propertyPath: properties.contentElementUid
        propertyValidatorsMode: OR
        propertyValidators:
          10: Integer
          20: FormElementIdentifierWithinCurlyBracesExclusive
Copied!

formEditor.editors.9999

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.9999
Data type
array/ [RemoveElementEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    editors:
      9999:
        identifier: removeButton
        templateName: Inspector-RemoveElementEditor
Copied!

formEditor.predefinedDefaults

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    predefinedDefaults:
      properties:
        contentElementUid: ''
Copied!
Description
Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.

formEditor.label

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    label: formEditor.elements.ContentElement.label
Copied!
Good to know
Description
This label will be shown within the "new element" Modal.

formEditor.group

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.group
Data type
string
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    group: custom
Copied!
Default value
Depends (see concrete element configuration)
Description
Define within which group within the form editor "new Element" modal the form element should be shown. The group value must be equal to an array key within formElementGroups.

formEditor.groupSorting

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.groupSorting
Data type
int
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    groupSorting: 700
Copied!
Description
The position within the formEditor.group for this form element.

formEditor.iconIdentifier

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
ContentElement:
  formEditor:
    iconIdentifier: form-content-element
Copied!
Description

An icon identifier which must be registered through the \TYPO3\CMS\Core\Imaging\IconRegistry. This icon will be shown within