Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!defined ('TYPO3_MODE')) {
- die ('Access denied.');
- }
- $TCA['tx_ext_domain_model_whatever'] = array(
- 'ctrl' => $TCA['tx_ext_domain_model_whatever']['ctrl'],
- 'interface' => array(
- 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden',
- ),
- 'types' => array(
- '1' => array('showitem' => 'hidden;;1,myCoolNewOwnField'),
- ),
- 'palettes' => array(
- '1' => array('showitem' => ''),
- ),
- 'columns' => array(
- 'template_content' => array(
- 'exclude' => 0,
- 'label' => 'My cool new own field',
- 'config' => array (
- 'type' => 'user',
- 'userFunc' => 'EXT:ext/Classes/UserFunction/class.tx_ext_myCustomField.php:tx_ext_myCustomField->getMyCustomField',
- 'parameters' => array(
- 'isCool' => TRUE
- ),
- ),
- ),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement