Skip to content

Instantly share code, notes, and snippets.

@MrMooky
Created January 19, 2016 08:51
Show Gist options
  • Save MrMooky/4318c2ad70a958ccc126 to your computer and use it in GitHub Desktop.
Save MrMooky/4318c2ad70a958ccc126 to your computer and use it in GitHub Desktop.
TCA access foreign table
'kategorie' => array(
'exclude' => 1,
'label' => 'LLL:EXT:produkte/Resources/Private/Language/locallang_db.xlf:tx_produkte_domain_model_produkt.kategorie',
'config' => array(
'type' => 'select',
'items' => array(
array('-', 0),
),
'foreign_table' => 'tx_produkte_domain_model_kategorie',
'minitems' => 0,
'maxitems' => 1,
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment