[GridColumnViewPortConfigurationEditor]

Introduction

Shows a viewport selector as buttons and an input field. With this editor, you can define how many columns per viewPort an form element should occupy.

Properties

templateName

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Related options
value
Inspector-GridColumnViewPortConfigurationEditor
Good to know
Description
The inline HTML template which is used for this inspector editor. Must be equal to an existing array key within TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formEditor.formEditorPartials and must be started with ‘Inspector-‘ by convention.

identifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.<formElementTypeIdentifier>.formEditor.editors.*.identifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value
Depends (see concrete element configuration )
Good to know
Description
Identifies the current inspector editor within the current form element. The identifier is a text of your choice but must be unique within the optionpath TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.<formElementTypeIdentifier>.formEditor.editors .

label

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.<formElementTypeIdentifier>.formEditor.editors.*.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value
Depends (see concrete element configuration )
Good to know
Description
The label for this inspector editor which is shown within the inspector component .

configurationOptions.viewPorts.[*].viewPortIdentifier

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Related options
Description
Has to match with a TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.<formElementTypeIdentifier>.properties.gridColumnClassAutoConfiguration.viewPorts configuration key.

configurationOptions.viewPorts.[*].label

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Description
The label for the viewport button.

configurationOptions.numbersOfColumnsToUse.label

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Description
The label for the “Numbers of columns” input field.

configurationOptions.numbersOfColumnsToUse.propertyPath

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Description
The path to the property of the form element which should be written.

configurationOptions.numbersOfColumnsToUse.fieldExplanationText

Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Description
A text which is shown at the bottom of the “Numbers of columns” input field.