chris-at-github
1/13/2016 - 4:40 AM

TCA

TCA

<?php

[
	'FIELD' => array(
		'exclude' => 1,
		'label'   => 'LLL:EXT:lang/locallang_general.xlf:LANG_KEY',
		'config'  => array(
			'type'                => 'select',
			'renderType'          => 'selectSingle', // Typo3 7
			'foreign_table'       => 'FOREIGN_TABLE',
			'foreign_table_where' => 'WHERE 1 = 1 ORDER BY uid',
			'items'               => array(
				array('', ''),
				array('LLL:EXT:lang/locallang_general.xlf:LANG_KEY', 1),
			),
		),
	),  
];