typo3-php-datasets/Tests/Functional/Fixtures/MmRelationBroken.php
Daniel Siepmann 3e594a0d15
Support MM Relations (#8)
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.
2023-08-10 08:34:14 +02:00

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' => 3,
],
],
];