mirror of
https://github.com/Codappix/typo3-php-datasets.git
synced 2024-11-13 12:56:11 +01:00
Daniel Siepmann
3e594a0d15
Those don't have a hash or uid field. We use a quick check whether a table is part of TCA in order to determine those tables.
24 lines
617 B
PHP
24 lines
617 B
PHP
<?php
|
|
|
|
return [
|
|
'sys_category_record_mm' => [
|
|
[
|
|
'uid_local' => 1,
|
|
'uid_foreign' => 1,
|
|
'tablenames' => 'pages',
|
|
'fieldname' => 'categories',
|
|
'sorting' => 0,
|
|
'sorting_foreign' => 1,
|
|
],
|
|
// A single one would work.
|
|
// But a 2nd would have the same internal index, an empty key.
|
|
[
|
|
'uid_local' => 1,
|
|
'uid_foreign' => 2,
|
|
'tablenames' => 'pages',
|
|
'fieldname' => 'categories',
|
|
'sorting' => 0,
|
|
'sorting_foreign' => 2,
|
|
],
|
|
],
|
|
];
|