[ContentElement]¶
Properties¶
implementationClassName¶
- Option path
- TYPO3.CMS.Form.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’)
1 2
ContentElement: implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
- Description
- Classname which implements the form element.
properties.contentElementUid¶
- Option path
- TYPO3.CMS.Form.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’)
1 2 3
ContentElement: properties: contentElementUid: ''
- Description
- The uid of the content element which should be rendered.
formEditor¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor
- Data type
- array
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
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: t3-form-icon-content-element
formEditor.editors.100¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.100
- Data type
- array/ [FormElementHeaderEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6
ContentElement: formEditor: editors: 100: identifier: header templateName: Inspector-FormElementHeaderEditor
formEditor.editors.300¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.300
- Data type
- array/ [Typo3WinBrowserEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
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
formEditor.editors.9999¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.9999
- Data type
- array/ [RemoveElementEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6
ContentElement: formEditor: editors: 9999: identifier: removeButton templateName: Inspector-RemoveElementEditor
formEditor.predefinedDefaults¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.predefinedDefaults
- Data type
- array
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5
ContentElement: formEditor: predefinedDefaults: properties: contentElementUid: ''
- Description
- Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.
formEditor.label¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.label
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2 3
ContentElement: formEditor: label: formEditor.elements.ContentElement.label
- Good to know
- Description
- This label will be shown within the “new element” Modal.
formEditor.group¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.group
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3
ContentElement: formEditor: group: custom
- 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. Thegroup
value must be equal to an array key withinformElementGroups
.
formEditor.groupSorting¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.groupSorting
- Data type
- int
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3
ContentElement: formEditor: groupSorting: 700
- Description
- The position within the
formEditor.group
for this form element.
formEditor.iconIdentifier¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.iconIdentifier
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2 3
ContentElement: formEditor: iconIdentifier: t3-form-icon-content-element
- Description
An icon identifier which must be registered through the
\TYPO3\CMS\Core\Imaging\IconRegistry
. This icon will be shown within- “Inspector [FormElementHeaderEditor]”.
- “Abstract view formelement templates”.
Tree
component.- “new element” Modal