Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.
Notiz-Feld
Dieses Feld kann für Notizen und Informationen verwendet werden.
Definition
$table = 'tx_crm_domain_model_activityunit';
$lll = 'LLL:EXT:crm/Resources/Private/Language/locallang_db.xlf:' . $table;
return [
'columns' => [
'notice' => [
'label' => $lll . '.notice',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'notice' => 'This is a simple text notice. This text is written within the TCA file itself. Such notice fields don\'t need a field in the database.',
]),
],
'notice_lll' => [
'label' => $lll . '.notice_lll',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'notice' => $lll . '.notice_lll_text',
]),
],
'notice_danger' => [
'label' => $lll . '.notice_danger',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'html' => '<i><b>Notice</b> danger</i>',
'display' => 'danger',
]),
],
'notice_warning' => [
'label' => $lll . '.notice_warning',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'html' => '<i><b>Notice</b> warning</i>',
'display' => 'warning',
]),
],
'notice_info' => [
'label' => $lll . '.notice_info',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'html' => '<i><b>Notice</b> info</i>',
'display' => 'info',
]),
],
'notice_success' => [
'label' => $lll . '.notice_success',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'html' => '<i><b>Notice</b> success</i>',
'display' => 'success',
]),
],
'notice_code' => [
'label' => $lll . '.notice_code',
'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
'html' => '<i><b>bold italic</b> only italic</i>',
'display' => 'code',
]),
],
],
];