ew_base/Configuration/SiteConfiguration/site_usercentrics.php
Sebastian Fischer 5319bd35a5 First commit
2024-02-09 17:13:28 +01:00

79 lines
2.4 KiB
PHP
Executable File

<?php
return [
'ctrl' => [
'label' => 'id',
'title' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site_usercentrics.ctrl.title',
'typeicon_classes' => [
'default' => 'ew-usercentrics',
],
],
'columns' => [
'id' => [
'label' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site_usercentrics.column.id',
'config' => [
'type' => 'input',
'size' => 12,
'max' => 12,
],
],
'version' => [
'label' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site_usercentrics.column.version',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'minitems' => 0,
'maxitems' => 1,
'size' => 1,
'items' => [
[
0 => 'CMP 2',
1 => 'loader',
],
[
0 => 'CMP 1',
1 => 'main',
],
]
],
],
'applicationContext' => [
'label' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site_usercentrics.column.applicationContext',
'description' => 'Values are separated by line breaks',
'config' => [
'type' => 'text',
'eval' => 'trim',
],
],
'useBlocker' => [
'label' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site_usercentrics.column.useBlocker',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'default' => false,
'items' => [
[
0 => '',
1 => true,
],
]
],
],
],
'types' => [
'1' => [
'showitem' => '
--palette--;;usercentrics,
',
],
],
'palettes' => [
'usercentrics' => [
'showitem' => '
id, version, --linebreak--,
applicationContext, useBlocker,
'
]
]
];