‪TYPO3CMS  10.4
TcaInlineConfigurationTest.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
20 
24 class ‪TcaInlineConfigurationTest extends UnitTestCase
25 {
29  protected ‪$defaultConfig = [
30  'type' => 'inline',
31  'foreign_table' => 'aForeignTableName',
32  'minitems' => 0,
33  'maxitems' => 99999,
34  'appearance' => [
35  'levelLinksPosition' => 'top',
36  'showPossibleLocalizationRecords' => false,
37  'showRemovedLocalizationRecords' => false,
38  'enabledControls' => [
39  'info' => true,
40  'new' => true,
41  'dragdrop' => true,
42  'sort' => true,
43  'hide' => true,
44  'delete' => true,
45  'localize' => true,
46  ],
47  ],
48  ];
49 
54  {
55  $input = [
56  'tableName' => 'aTable',
57  'databaseRow' => [],
58  'processedTca' => [
59  'columns' => [
60  'aField' => [
61  'config' => [
62  'type' => 'inline',
63  ],
64  ],
65  ],
66  ],
67  ];
68  $this->expectException(\UnexpectedValueException::class);
69  $this->expectExceptionCode(1443793404);
70  (new ‪TcaInlineConfiguration())->addData($input);
71  }
72 
76  public function ‪addDataSetsDefaults()
77  {
78  $input = [
79  'processedTca' => [
80  'columns' => [
81  'aField' => [
82  'config' => [
83  'type' => 'inline',
84  'foreign_table' => 'aForeignTableName',
85  ],
86  ],
87  ],
88  ],
89  ];
90  $expected = [];
91  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
92  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
93  }
94 
98  public function ‪addDataKeepsGivenMinitems()
99  {
100  $input = [
101  'processedTca' => [
102  'columns' => [
103  'aField' => [
104  'config' => [
105  'type' => 'inline',
106  'foreign_table' => 'aForeignTableName',
107  'minitems' => 23,
108  ],
109  ],
110  ],
111  ],
112  ];
113  $expected = [];
114  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
115  $expected['processedTca']['columns']['aField']['config']['minitems'] = 23;
116  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
117  }
118 
122  public function ‪addDataForcesMinitemsPositive()
123  {
124  $input = [
125  'processedTca' => [
126  'columns' => [
127  'aField' => [
128  'config' => [
129  'type' => 'inline',
130  'foreign_table' => 'aForeignTableName',
131  'minitems' => -23,
132  ],
133  ],
134  ],
135  ],
136  ];
137  $expected = [];
138  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
139  $expected['processedTca']['columns']['aField']['config']['minitems'] = 0;
140  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
141  }
142 
146  public function ‪addDataKeepsGivenMaxitems()
147  {
148  $input = [
149  'processedTca' => [
150  'columns' => [
151  'aField' => [
152  'config' => [
153  'type' => 'inline',
154  'foreign_table' => 'aForeignTableName',
155  'maxitems' => 23,
156  ],
157  ],
158  ],
159  ],
160  ];
161  $expected = [];
162  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
163  $expected['processedTca']['columns']['aField']['config']['maxitems'] = 23;
164  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
165  }
166 
170  public function ‪addDataForcesMaxitemsPositive()
171  {
172  $input = [
173  'processedTca' => [
174  'columns' => [
175  'aField' => [
176  'config' => [
177  'type' => 'inline',
178  'foreign_table' => 'aForeignTableName',
179  'maxitems' => '-23',
180  ],
181  ],
182  ],
183  ],
184  ];
185  $expected = [];
186  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
187  $expected['processedTca']['columns']['aField']['config']['maxitems'] = 1;
188  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
189  }
190 
195  {
196  $input = [
197  'processedTca' => [
198  'columns' => [
199  'aField' => [
200  'config' => [
201  'type' => 'inline',
202  'foreign_table' => 'aForeignTableName',
203  'appearance' => [
204  'levelLinksPosition' => 'both',
205  'enabledControls' => [
206  'dragdrop' => false,
207  ],
208  ],
209  ],
210  ],
211  ],
212  ],
213  ];
214  $expected = [];
215  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
216  $expected['processedTca']['columns']['aField']['config']['appearance']['levelLinksPosition'] = 'both';
217  $expected['processedTca']['columns']['aField']['config']['appearance']['enabledControls']['dragdrop'] = false;
218  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
219  }
220 
225  {
226  $input = [
227  'processedTca' => [
228  'columns' => [
229  'aField' => [
230  'config' => [
231  'type' => 'inline',
232  'foreign_table' => 'aForeignTableName',
233  'foreign_selector' => 'aField',
234  'appearance' => [
235  'levelLinksPosition' => 'both',
236  ],
237  ],
238  ],
239  ],
240  ],
241  ];
242  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
243  'type' => 'select',
244  'foreign_table' => 'anotherForeignTableName',
245  ];
246  $expected = [];
247  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
248  $expected['processedTca']['columns']['aField']['config']['foreign_selector'] = 'aField';
249  $expected['processedTca']['columns']['aField']['config']['selectorOrUniqueConfiguration'] = [
250  'fieldName' => 'aField',
251  'isSelector' => true,
252  'isUnique' => false,
253  'config' => [
254  'type' => 'select',
255  'foreign_table' => 'anotherForeignTableName',
256  ],
257  'foreignTable' => 'anotherForeignTableName',
258  ];
259  $expected['processedTca']['columns']['aField']['config']['appearance']['levelLinksPosition'] = 'none';
260  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
261  }
262 
267  {
268  $input = [
269  'processedTca' => [
270  'columns' => [
271  'aField' => [
272  'config' => [
273  'type' => 'inline',
274  'foreign_table' => 'aForeignTableName',
275  'foreign_selector' => 'aField',
276  'appearance' => [
277  'useCombination' => true,
278  'levelLinksPosition' => 'both',
279  ],
280  ],
281  ],
282  ],
283  ],
284  ];
285  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
286  'type' => 'select',
287  'foreign_table' => 'anotherForeignTableName',
288  ];
289  $expected = [];
290  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
291  $expected['processedTca']['columns']['aField']['config']['foreign_selector'] = 'aField';
292  $expected['processedTca']['columns']['aField']['config']['selectorOrUniqueConfiguration'] = [
293  'fieldName' => 'aField',
294  'isSelector' => true,
295  'isUnique' => false,
296  'config' => [
297  'type' => 'select',
298  'foreign_table' => 'anotherForeignTableName',
299  ],
300  'foreignTable' => 'anotherForeignTableName',
301  ];
302  $expected['processedTca']['columns']['aField']['config']['appearance']['useCombination'] = true;
303  $expected['processedTca']['columns']['aField']['config']['appearance']['levelLinksPosition'] = 'both';
304  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
305  }
306 
311  {
312  $input = [
313  'processedTca' => [
314  'columns' => [
315  'aField' => [
316  'config' => [
317  'type' => 'inline',
318  'foreign_table' => 'aForeignTableName',
319  'appearance' => [
320  'showPossibleLocalizationRecords' => '1',
321  ],
322  ],
323  ],
324  ],
325  ],
326  ];
327  $expected = [];
328  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
329  $expected['processedTca']['columns']['aField']['config']['appearance']['showPossibleLocalizationRecords'] = true;
330  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
331  }
332 
337  {
338  $input = [
339  'processedTca' => [
340  'columns' => [
341  'aField' => [
342  'config' => [
343  'type' => 'inline',
344  'foreign_table' => 'aForeignTableName',
345  'appearance' => [
346  'showPossibleLocalizationRecords' => 0,
347  ],
348  ],
349  ],
350  ],
351  ],
352  ];
353  $expected = [];
354  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
355  $expected['processedTca']['columns']['aField']['config']['appearance']['showPossibleLocalizationRecords'] = false;
356  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
357  }
358 
363  {
364  $input = [
365  'processedTca' => [
366  'columns' => [
367  'aField' => [
368  'config' => [
369  'type' => 'inline',
370  'foreign_table' => 'aForeignTableName',
371  'appearance' => [
372  'showRemovedLocalizationRecords' => 1,
373  ],
374  ],
375  ],
376  ],
377  ],
378  ];
379  $expected = [];
380  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
381  $expected['processedTca']['columns']['aField']['config']['appearance']['showRemovedLocalizationRecords'] = true;
382  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
383  }
384 
389  {
390  $input = [
391  'processedTca' => [
392  'columns' => [
393  'aField' => [
394  'config' => [
395  'type' => 'inline',
396  'foreign_table' => 'aForeignTableName',
397  'appearance' => [
398  'showRemovedLocalizationRecords' => '',
399  ],
400  ],
401  ],
402  ],
403  ],
404  ];
405  $expected = [];
406  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
407  $expected['processedTca']['columns']['aField']['config']['appearance']['showRemovedLocalizationRecords'] = false;
408  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
409  }
410 
415  {
416  $input = [
417  'tableName' => 'aTable',
418  'processedTca' => [
419  'columns' => [
420  'aField' => [
421  'config' => [
422  'type' => 'inline',
423  'foreign_table' => 'aForeignTableName',
424  'foreign_selector' => 'aField',
425  'foreign_unique' => 'aDifferentField',
426  ],
427  ],
428  ],
429  ],
430  ];
431  $this->expectException(\UnexpectedValueException::class);
432  $this->expectExceptionCode(1444995464);
433  (new ‪TcaInlineConfiguration())->addData($input);
434  }
435 
440  {
441  $input = [
442  'tableName' => 'aTable',
443  'processedTca' => [
444  'columns' => [
445  'aField' => [
446  'config' => [
447  'type' => 'inline',
448  'foreign_table' => 'aForeignTableName',
449  'foreign_selector' => 'aField',
450  ],
451  ],
452  ],
453  ],
454  ];
455  $this->expectException(\UnexpectedValueException::class);
456  $this->expectExceptionCode(1444996537);
457  (new ‪TcaInlineConfiguration())->addData($input);
458  }
459 
464  {
465  $input = [
466  'tableName' => 'aTable',
467  'processedTca' => [
468  'columns' => [
469  'aField' => [
470  'config' => [
471  'type' => 'inline',
472  'foreign_table' => 'aForeignTableName',
473  'foreign_unique' => 'aField',
474  ],
475  ],
476  ],
477  ],
478  ];
479  $this->expectException(\UnexpectedValueException::class);
480  $this->expectExceptionCode(1444996537);
481  (new ‪TcaInlineConfiguration())->addData($input);
482  }
483 
488  {
489  $input = [
490  'tableName' => 'aTable',
491  'processedTca' => [
492  'columns' => [
493  'aField' => [
494  'config' => [
495  'type' => 'inline',
496  'foreign_table' => 'aForeignTableName',
497  'foreign_unique' => 'aField',
498  ],
499  ],
500  ],
501  ],
502  ];
503  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
504  'type' => 'notSelectOrGroup',
505  ];
506  $this->expectException(\UnexpectedValueException::class);
507  $this->expectExceptionCode(1444996537);
508  (new ‪TcaInlineConfiguration())->addData($input);
509  }
510 
515  {
516  $input = [
517  'tableName' => 'aTable',
518  'processedTca' => [
519  'columns' => [
520  'aField' => [
521  'config' => [
522  'type' => 'inline',
523  'foreign_table' => 'aForeignTableName',
524  'foreign_unique' => 'aField',
525  ],
526  ],
527  ],
528  ],
529  ];
530  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
531  'type' => 'group',
532  'internal_type' => 'notDb'
533  ];
534  $this->expectException(\UnexpectedValueException::class);
535  $this->expectExceptionCode(1444999130);
536  (new ‪TcaInlineConfiguration())->addData($input);
537  }
538 
543  {
544  $input = [
545  'tableName' => 'aTable',
546  'processedTca' => [
547  'columns' => [
548  'aField' => [
549  'config' => [
550  'type' => 'inline',
551  'foreign_table' => 'aForeignTableName',
552  'foreign_unique' => 'aField',
553  ],
554  ],
555  ],
556  ],
557  ];
558  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
559  'type' => 'select',
560  ];
561  $this->expectException(\UnexpectedValueException::class);
562  $this->expectExceptionCode(1445078627);
563  (new ‪TcaInlineConfiguration())->addData($input);
564  }
565 
570  {
571  $input = [
572  'tableName' => 'aTable',
573  'processedTca' => [
574  'columns' => [
575  'aField' => [
576  'config' => [
577  'type' => 'inline',
578  'foreign_table' => 'aForeignTableName',
579  'foreign_unique' => 'aField',
580  ],
581  ],
582  ],
583  ],
584  ];
585  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
586  'type' => 'group',
587  'internal_type' => 'db',
588  ];
589  $this->expectException(\UnexpectedValueException::class);
590  $this->expectExceptionCode(1445078628);
591  (new ‪TcaInlineConfiguration())->addData($input);
592  }
593 
598  {
599  $input = [
600  'processedTca' => [
601  'columns' => [
602  'aField' => [
603  'config' => [
604  'type' => 'inline',
605  'foreign_table' => 'aForeignTableName',
606  'foreign_unique' => 'aField',
607  ],
608  ],
609  ],
610  ],
611  ];
612  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
613  'type' => 'select',
614  'foreign_table' => 'anotherForeignTableName',
615  ];
616  $expected = [];
617  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
618  $expected['processedTca']['columns']['aField']['config']['foreign_unique'] = 'aField';
619  $expected['processedTca']['columns']['aField']['config']['selectorOrUniqueConfiguration'] = [
620  'fieldName' => 'aField',
621  'isSelector' => false,
622  'isUnique' => true,
623  'config' => [
624  'type' => 'select',
625  'foreign_table' => 'anotherForeignTableName',
626  ],
627  'foreignTable' => 'anotherForeignTableName',
628  ];
629  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
630  }
631 
636  {
637  $input = [
638  'processedTca' => [
639  'columns' => [
640  'aField' => [
641  'config' => [
642  'type' => 'inline',
643  'foreign_table' => 'aForeignTableName',
644  'foreign_selector' => 'aField',
645  'overrideChildTca' => [
646  'columns' => [
647  'aField' => [
648  'config' => [
649  'aGivenSetting' => 'aOverrideValue',
650  'aNewSetting' => 'aNewSetting',
651  'appearance' => [
652  'elementBrowserType' => 'file',
653  'elementBrowserAllowed' => 'jpg,png',
654  ],
655  ],
656  ],
657  ],
658  ],
659  ],
660  ],
661  ],
662  ],
663  ];
664  ‪$GLOBALS['TCA']['aForeignTableName']['columns']['aField']['config'] = [
665  'type' => 'group',
666  'internal_type' => 'db',
667  'allowed' => 'anotherForeignTableName',
668  'doNotChangeMe' => 'doNotChangeMe',
669  'aGivenSetting' => 'aGivenValue',
670  ];
671 
672  $expected = [];
673  $expected['processedTca']['columns']['aField']['config'] = ‪$this->defaultConfig;
674  $expected['processedTca']['columns']['aField']['config']['appearance']['levelLinksPosition'] = 'none';
675  $expected['processedTca']['columns']['aField']['config']['foreign_selector'] = 'aField';
676  $expected['processedTca']['columns']['aField']['config']['overrideChildTca']['columns']['aField'] = [
677  'config' => [
678  'aGivenSetting' => 'aOverrideValue',
679  'aNewSetting' => 'aNewSetting',
680  'appearance' => [
681  'elementBrowserType' => 'file',
682  'elementBrowserAllowed' => 'jpg,png',
683  ],
684  ],
685  ];
686 
687  $expected['processedTca']['columns']['aField']['config']['selectorOrUniqueConfiguration'] = [
688  'fieldName' => 'aField',
689  'isSelector' => true,
690  'isUnique' => false,
691  'config' => [
692  'type' => 'group',
693  'internal_type' => 'db',
694  'allowed' => 'anotherForeignTableName',
695  'doNotChangeMe' => 'doNotChangeMe',
696  'aGivenSetting' => 'aOverrideValue',
697  'aNewSetting' => 'aNewSetting',
698  'appearance' => [
699  'elementBrowserType' => 'file',
700  'elementBrowserAllowed' => 'jpg,png',
701  ],
702  ],
703  'foreignTable' => 'anotherForeignTableName',
704  ];
705  self::assertEquals($expected, (new ‪TcaInlineConfiguration())->addData($input));
706  }
707 }
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignUniqueGroupDoesNotDefineForeignTable
‪addDataThrowsExceptionIfForeignUniqueGroupDoesNotDefineForeignTable()
Definition: TcaInlineConfigurationTest.php:568
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionForInlineFieldWithoutForeignTableConfig
‪addDataThrowsExceptionForInlineFieldWithoutForeignTableConfig()
Definition: TcaInlineConfigurationTest.php:52
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsGivenMaxitems
‪addDataKeepsGivenMaxitems()
Definition: TcaInlineConfigurationTest.php:145
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataAddsSelectorOrUniqueConfigurationForForeignUnique
‪addDataAddsSelectorOrUniqueConfigurationForForeignUnique()
Definition: TcaInlineConfigurationTest.php:596
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest
Definition: TcaInlineConfigurationTest.php:25
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataForcesMaxitemsPositive
‪addDataForcesMaxitemsPositive()
Definition: TcaInlineConfigurationTest.php:169
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignUniqueSelectDoesNotDefineForeignTable
‪addDataThrowsExceptionIfForeignUniqueSelectDoesNotDefineForeignTable()
Definition: TcaInlineConfigurationTest.php:541
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignSelectorPointsToANotExistingField
‪addDataThrowsExceptionIfForeignSelectorPointsToANotExistingField()
Definition: TcaInlineConfigurationTest.php:438
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataSetsDefaults
‪addDataSetsDefaults()
Definition: TcaInlineConfigurationTest.php:75
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignUniqueTargetIsNotTypeSelectOrGroup
‪addDataThrowsExceptionIfForeignUniqueTargetIsNotTypeSelectOrGroup()
Definition: TcaInlineConfigurationTest.php:486
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsShowPossibleLocalizationRecordsButForcesBooleanTrue
‪addDataKeepsShowPossibleLocalizationRecordsButForcesBooleanTrue()
Definition: TcaInlineConfigurationTest.php:309
‪TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineConfiguration
Definition: TcaInlineConfiguration.php:25
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataMergesForeignSelectorFieldTcaOverride
‪addDataMergesForeignSelectorFieldTcaOverride()
Definition: TcaInlineConfigurationTest.php:634
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataMergesWithGivenAppearanceSettings
‪addDataMergesWithGivenAppearanceSettings()
Definition: TcaInlineConfigurationTest.php:193
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsLevelLinksPositionWithForeignSelectorAndUseCombination
‪addDataKeepsLevelLinksPositionWithForeignSelectorAndUseCombination()
Definition: TcaInlineConfigurationTest.php:265
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsGivenMinitems
‪addDataKeepsGivenMinitems()
Definition: TcaInlineConfigurationTest.php:97
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignUniquePointsToANotExistingField
‪addDataThrowsExceptionIfForeignUniquePointsToANotExistingField()
Definition: TcaInlineConfigurationTest.php:462
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataForcesLevelLinksPositionWithForeignSelector
‪addDataForcesLevelLinksPositionWithForeignSelector()
Definition: TcaInlineConfigurationTest.php:223
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsShowPossibleLocalizationRecordsButForcesBooleanFalse
‪addDataKeepsShowPossibleLocalizationRecordsButForcesBooleanFalse()
Definition: TcaInlineConfigurationTest.php:335
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataForcesMinitemsPositive
‪addDataForcesMinitemsPositive()
Definition: TcaInlineConfigurationTest.php:121
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepshowRemovedLocalizationRecordsButForcesBooleanTrue
‪addDataKeepshowRemovedLocalizationRecordsButForcesBooleanTrue()
Definition: TcaInlineConfigurationTest.php:361
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionIfForeignSelectorAndForeignUniquePointToDifferentFields
‪addDataThrowsExceptionIfForeignSelectorAndForeignUniquePointToDifferentFields()
Definition: TcaInlineConfigurationTest.php:413
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataKeepsShowRemovedLocalizationRecordsButForcesBooleanFalse
‪addDataKeepsShowRemovedLocalizationRecordsButForcesBooleanFalse()
Definition: TcaInlineConfigurationTest.php:387
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\$defaultConfig
‪array $defaultConfig
Definition: TcaInlineConfigurationTest.php:28
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider
Definition: DatabaseDefaultLanguagePageRowTest.php:18
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInlineConfigurationTest\addDataThrowsExceptionForForeignSelectorGroupWithoutInternalTypeDb
‪addDataThrowsExceptionForForeignSelectorGroupWithoutInternalTypeDb()
Definition: TcaInlineConfigurationTest.php:513