Go to the documentation of this file.
6 'label_alt' =>
'condition',
7 'label_alt_force' =>
true,
8 'title' =>
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.ctrl.title',
9 'typeicon_classes' => [
10 'default' =>
'mimetypes-x-content-domain',
15 'label' =>
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.base',
16 'description' =>
'LLL:EXT:backend/Resources/Private/Language/siteconfiguration_fieldinformation.xlf:site_base_variant.base',
19 'eval' =>
'required, trim',
20 'placeholder' =>
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.base.placeholder',
24 'label' =>
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.condition',
25 'description' =>
'LLL:EXT:backend/Resources/Private/Language/siteconfiguration_fieldinformation.xlf:site_base_variant.condition',
28 'eval' =>
'required, trim',
31 [
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.condition.applicationContext',
'applicationContext == "Production"'],
32 [
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.condition.environmentVariable',
'getenv("mycontext") == "production"'],
35 'placeholder' =>
'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_base_variant.condition.placeholder',
41 'showitem' =>
'base,condition',