In ext_localconf.php den Proxy registrieren:
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['classes']['Domain/Model/News'][] = '[ext-lower]';
In ext_tables.sql Feld in Datenbank registrieren:
CREATE TABLE tx_news_domain_model_news (
[field-lower] varchar(255) DEFAULT '' NOT NULL
);
In Configuration/TCA/Overrides/tx_news_domain_model_news.php Feld im TCA registrieren:
[
'exclude' => 1,
'label' => 'Titel',
'config' => [
'type' => 'input',
'size' => 15
],
]
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tx_news_domain_model_news', $tmpColumns
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tx_news_domain_model_news',
'--linebreak--,' . join(',', array_keys($tmpColumns)),
'',
'after:title'
);
In Classes/Domain/Model/News.php Model mit Getter / Setter definieren
[field-lower-ucc];
}
/**
* @param string $[field-lower-ucc]
*/
public function set[field-ucc]($[field-lower-ucc]) {
$this->[field-lower-ucc] = $[field-lower-ucc];
}
}