['columns'] Section

This contains the configuration array for single fields in the user settings. This array allows the following configurations:

Name Type
string
string
string
string
stringstring
array
array
string
boolean
string
string

type

type
Type
string
Allowed values
button, check, password, select, text, user

Defines the type of the input field

If type == user, then you need to define your own renderType too. If selectable items shall be filled by your own function, then you can use type == select and itemsProcFunc.

Example:

'startModule' => [
   'type' => 'select',
   'itemsProcFunc' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderStartModuleSelect',
   'label' => 'LLL:EXT:setup/mod/locallang.xlf:startModule',
],
Copied!

label

label
Type
string

Label for the input field, should be a pointer to a localized label using the LLL: syntax.

buttonLabel

buttonLabel
Type
string

Text of the button for type=button fields. Should be a pointer to a localized label using the LLL: syntax.

access

access
Type
string
Allowed values
admin

Access control. At the moment only a admin-check is implemented

table

table
Type
stringstring
Allowed values
be_users

If the user setting is saved in a DB table, this property sets the table. At the moment only be_users is implemented.

items

items
Type
array

List of items for type=select fields. This should be a simple associative array with key-value pairs.

itemsProcFunc

itemsProcFunc
Type
array

Defines an external method for rendering items of select-type fields. Contrary to what is done with the TCA you have to render the <select> tag too. Only used by type=select.

Use the usual class->method syntax.

clickData.eventName

clickData.eventName
Type
string

JavaScript event triggered on click.

confirm

confirm
Type
boolean

If true, JavaScript confirmation dialog is displayed.

confirmData.eventName

confirmData.eventName
Type
string

JavaScript event triggered on confirmation.

confirmData.message

confirmData.message
Type
string

Confirmation message.