23 lines
761 B
PHP
Executable File
23 lines
761 B
PHP
Executable File
<?php
|
|
|
|
$GLOBALS['SiteConfiguration']['site']['columns']['usercentrics'] = [
|
|
'label' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site.usercentrics',
|
|
'description' => 'LLL:EXT:ew_base/Resources/Private/Language/locallang_siteconfiguration.xlf:site.usercentrics.description',
|
|
'config' => [
|
|
'type' => 'inline',
|
|
'foreign_table' => 'site_usercentrics',
|
|
'maxitems' => 1,
|
|
'appearance' => [
|
|
'enabledControls' => [
|
|
'info' => false,
|
|
],
|
|
],
|
|
],
|
|
];
|
|
|
|
$GLOBALS['SiteConfiguration']['site']['types']['0']['showitem'] = str_replace(
|
|
' routes',
|
|
' routes, usercentrics,',
|
|
$GLOBALS['SiteConfiguration']['site']['types']['0']['showitem']
|
|
);
|