Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Notice field
This field can be used for displaying notices and information.
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',
]),
],
],
];