‪TYPO3CMS  10.4
FrontendConfigurationManagerTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
24 use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
25 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
26 
30 class ‪FrontendConfigurationManagerTest extends UnitTestCase
31 {
35  protected ‪$mockContentObject;
36 
41 
45  protected ‪$mockTypoScriptService;
46 
50  protected function ‪setUp(): void
51  {
52  parent::setUp();
53  ‪$GLOBALS['TSFE'] = new \stdClass();
54  ‪$GLOBALS['TSFE']->tmpl = new \stdClass();
55  $this->mockContentObject = $this->getMockBuilder(ContentObjectRenderer::class)
56  ->onlyMethods(['getTreeList'])
57  ->getMock();
58  $this->frontendConfigurationManager = $this->getAccessibleMock(
59  FrontendConfigurationManager::class,
60  ['dummy'],
61  [],
62  '',
63  false
64  );
65  $this->frontendConfigurationManager->_set('contentObject', $this->mockContentObject);
66  $this->mockTypoScriptService = $this->getMockBuilder(TypoScriptService::class)->getMock();
67  $this->frontendConfigurationManager->_set('typoScriptService', $this->mockTypoScriptService);
68  }
69 
73  public function ‪getTypoScriptSetupReturnsSetupFromTsfe(): void
74  {
75  ‪$GLOBALS['TSFE']->tmpl->setup = ['foo' => 'bar'];
76  self::assertEquals(['foo' => 'bar'], $this->frontendConfigurationManager->_call('getTypoScriptSetup'));
77  }
78 
83  {
84  ‪$GLOBALS['TSFE']->tmpl->setup = ['foo' => 'bar'];
85  $expectedResult = [];
86  $actualResult = $this->frontendConfigurationManager->_call(
87  'getPluginConfiguration',
88  'SomeExtensionName',
89  'SomePluginName'
90  );
91  self::assertEquals($expectedResult, $actualResult);
92  }
93 
98  {
99  $testSettings = [
100  'settings.' => [
101  'foo' => 'bar'
102  ]
103  ];
104  $testSettingsConverted = [
105  'settings' => [
106  'foo' => 'bar'
107  ]
108  ];
109  $testSetup = [
110  'plugin.' => [
111  'tx_someextensionname.' => $testSettings
112  ]
113  ];
114  $this->mockTypoScriptService->expects(self::any())->method('convertTypoScriptArrayToPlainArray')->with($testSettings)->willReturn($testSettingsConverted);
115  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
116  $expectedResult = [
117  'settings' => [
118  'foo' => 'bar'
119  ]
120  ];
121  $actualResult = $this->frontendConfigurationManager->_call('getPluginConfiguration', 'SomeExtensionName');
122  self::assertEquals($expectedResult, $actualResult);
123  }
124 
129  {
130  $testSettings = [
131  'settings.' => [
132  'foo' => 'bar'
133  ]
134  ];
135  $testSettingsConverted = [
136  'settings' => [
137  'foo' => 'bar'
138  ]
139  ];
140  $testSetup = [
141  'plugin.' => [
142  'tx_someextensionname_somepluginname.' => $testSettings
143  ]
144  ];
145  $this->mockTypoScriptService->expects(self::any())->method('convertTypoScriptArrayToPlainArray')->with($testSettings)->willReturn($testSettingsConverted);
146  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
147  $expectedResult = [
148  'settings' => [
149  'foo' => 'bar'
150  ]
151  ];
152  $actualResult = $this->frontendConfigurationManager->_call(
153  'getPluginConfiguration',
154  'SomeExtensionName',
155  'SomePluginName'
156  );
157  self::assertEquals($expectedResult, $actualResult);
158  }
159 
164  {
165  $testExtensionSettings = [
166  'settings.' => [
167  'foo' => 'bar',
168  'some.' => [
169  'nested' => 'value'
170  ]
171  ]
172  ];
173  $testExtensionSettingsConverted = [
174  'settings' => [
175  'foo' => 'bar',
176  'some' => [
177  'nested' => 'value'
178  ]
179  ]
180  ];
181  $testPluginSettings = [
182  'settings.' => [
183  'some.' => [
184  'nested' => 'valueOverride',
185  'new' => 'value'
186  ]
187  ]
188  ];
189  $testPluginSettingsConverted = [
190  'settings' => [
191  'some' => [
192  'nested' => 'valueOverride',
193  'new' => 'value'
194  ]
195  ]
196  ];
197  $testSetup = [
198  'plugin.' => [
199  'tx_someextensionname.' => $testExtensionSettings,
200  'tx_someextensionname_somepluginname.' => $testPluginSettings
201  ]
202  ];
203  $this->mockTypoScriptService->expects(self::exactly(2))->method('convertTypoScriptArrayToPlainArray')
204  ->withConsecutive([$testExtensionSettings], [$testPluginSettings])
205  ->willReturnOnConsecutiveCalls($testExtensionSettingsConverted, $testPluginSettingsConverted);
206  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
207  $expectedResult = [
208  'settings' => [
209  'foo' => 'bar',
210  'some' => [
211  'nested' => 'valueOverride',
212  'new' => 'value'
213  ]
214  ]
215  ];
216  $actualResult = $this->frontendConfigurationManager->_call(
217  'getPluginConfiguration',
218  'SomeExtensionName',
219  'SomePluginName'
220  );
221  self::assertEquals($expectedResult, $actualResult);
222  }
223 
228  {
229  ‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase'] = null;
230  $expectedResult = [];
231  $actualResult = $this->frontendConfigurationManager->_call(
232  'getControllerConfiguration',
233  'SomeExtensionName',
234  'SomePluginName'
235  );
236  self::assertEquals($expectedResult, $actualResult);
237  }
238 
243  {
244  $controllerConfiguration = [
245  'Controller1' => [
246  'actions' => [
247  'action1',
248  'action2'
249  ],
250  'nonCacheableActions' => [
251  'action1'
252  ]
253  ],
254  'Controller2' => [
255  'actions' => [
256  'action3',
257  'action4'
258  ]
259  ]
260  ];
261  ‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['SomeExtensionName']['plugins']['SomePluginName']['controllers'] = $controllerConfiguration;
262  $expectedResult = $controllerConfiguration;
263  $actualResult = $this->frontendConfigurationManager->_call(
264  'getControllerConfiguration',
265  'SomeExtensionName',
266  'SomePluginName'
267  );
268  self::assertEquals($expectedResult, $actualResult);
269  }
270 
275  {
276  $frameworkConfiguration = [
277  'some' => [
278  'framework' => 'configuration'
279  ]
280  ];
282  ‪$frontendConfigurationManager = $this->getAccessibleMock(
283  FrontendConfigurationManager::class,
284  [
285  'overrideStoragePidIfStartingPointIsSet',
286  'overrideConfigurationFromPlugin',
287  'overrideConfigurationFromFlexForm'
288  ],
289  [],
290  '',
291  false
292  );
293  ‪$frontendConfigurationManager->expects(self::once())->method('overrideStoragePidIfStartingPointIsSet')->with($frameworkConfiguration)->willReturn(['overridden' => 'storagePid']);
294  ‪$frontendConfigurationManager->expects(self::once())->method('overrideConfigurationFromPlugin')->with(['overridden' => 'storagePid'])->willReturn(['overridden' => 'pluginConfiguration']);
295  ‪$frontendConfigurationManager->expects(self::once())->method('overrideConfigurationFromFlexForm')->with(['overridden' => 'pluginConfiguration'])->willReturn(['overridden' => 'flexFormConfiguration']);
296  $expectedResult = ['overridden' => 'flexFormConfiguration'];
297  $actualResult = ‪$frontendConfigurationManager->_call(
298  'getContextSpecificFrameworkConfiguration',
299  $frameworkConfiguration
300  );
301  self::assertEquals($expectedResult, $actualResult);
302  }
303 
308  {
309  $storagePids = [3, 5, 9];
310  $recursive = 99;
312  $abstractConfigurationManager = $this->getAccessibleMock(
313  FrontendConfigurationManager::class,
314  [
315  'getContextSpecificFrameworkConfiguration',
316  'getTypoScriptSetup',
317  'getPluginConfiguration',
318  'getControllerConfiguration'
319  ],
320  [],
321  '',
322  false
323  );
325  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
326  $cObjectMock->expects(self::any())
327  ->method('getTreeList')
328  ->will(self::onConsecutiveCalls('4', '', '898,12'));
329  $abstractConfigurationManager->setContentObject($cObjectMock);
330 
331  $expectedResult = [4, 898, 12];
332  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
333  self::assertEquals($expectedResult, $actualResult);
334  }
335 
340  {
341  $storagePids = [-3, 5, 9];
342  $recursive = 99;
344  $abstractConfigurationManager = $this->getAccessibleMock(
345  FrontendConfigurationManager::class,
346  [
347  'getContextSpecificFrameworkConfiguration',
348  'getTypoScriptSetup',
349  'getPluginConfiguration',
350  'getControllerConfiguration'
351  ],
352  [],
353  '',
354  false
355  );
357  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
358  $cObjectMock->expects(self::any())
359  ->method('getTreeList')
360  ->will(self::onConsecutiveCalls('3,4', '', '898,12'));
361  $abstractConfigurationManager->setContentObject($cObjectMock);
362 
363  $expectedResult = [3, 4, 898, 12];
364  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
365  self::assertEquals($expectedResult, $actualResult);
366  }
367 
372  {
373  $storagePids = [1, 2, 3];
374 
376  $abstractConfigurationManager = $this->getAccessibleMock(
377  FrontendConfigurationManager::class,
378  [
379  'getContextSpecificFrameworkConfiguration',
380  'getTypoScriptSetup',
381  'getPluginConfiguration',
382  'getControllerConfiguration'
383  ],
384  [],
385  '',
386  false
387  );
389  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
390  $cObjectMock->expects(self::never())->method('getTreeList');
391  $abstractConfigurationManager->setContentObject($cObjectMock);
392 
393  $expectedResult = [1, 2, 3];
394  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids);
395  self::assertEquals($expectedResult, $actualResult);
396  }
397 
402  {
403  $storagePids = [1, 2, 3];
404  $recursive = 0;
405 
406  $abstractConfigurationManager = $this->getAccessibleMock(
407  FrontendConfigurationManager::class,
408  [
409  'getContextSpecificFrameworkConfiguration',
410  'getTypoScriptSetup',
411  'getPluginConfiguration',
412  'getControllerConfiguration'
413  ],
414  [],
415  '',
416  false
417  );
418 
420  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
421  $cObjectMock->expects(self::never())->method('getTreeList');
422  $abstractConfigurationManager->setContentObject($cObjectMock);
423 
424  $expectedResult = [1, 2, 3];
425  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
426  self::assertEquals($expectedResult, $actualResult);
427  }
428 
433  {
434  $configuration = [
435  'persistence' => [
436  'storagePid' => '0,1,2,3'
437  ]
438  ];
439 
440  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
441  self::assertSame(
442  ['persistence' => ['storagePid' => '0,1,2,3']],
443  $this->frontendConfigurationManager->_call(
444  'mergeConfigurationIntoFrameworkConfiguration',
445  $frameworkConfiguration,
446  $configuration,
447  'persistence'
448  )
449  );
450  }
451 
456  {
457  $this->mockContentObject->expects(self::any())->method('getTreeList')->willReturn('1,2,3');
458  $this->mockContentObject->data = ['pages' => '0', 'recursive' => 1];
459 
460  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
461  self::assertSame(
462  ['persistence' => ['storagePid' => '0,1,2,3']],
463  $this->frontendConfigurationManager->_call(
464  'overrideStoragePidIfStartingPointIsSet',
465  $frameworkConfiguration
466  )
467  );
468  }
469 
474  {
475  $this->mockContentObject->expects(self::any())->method('getTreeList')->willReturn('');
476  $this->mockContentObject->data = ['pages' => '0', 'recursive' => 1];
477 
478  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
479  self::assertSame(
480  ['persistence' => ['storagePid' => '0']],
481  $this->frontendConfigurationManager->_call(
482  'overrideStoragePidIfStartingPointIsSet',
483  $frameworkConfiguration
484  )
485  );
486  }
487 
492  {
494  $flexFormService = $this->getMockBuilder(FlexFormService::class)
495  ->setMethods(['convertFlexFormContentToArray'])
496  ->getMock();
497  $flexFormService->expects(self::once())->method('convertFlexFormContentToArray')->willReturn([
498  'persistence' => [
499  'storagePid' => '0,1,2,3'
500  ]
501  ]);
502 
503  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
504  $this->mockContentObject->data = ['pi_flexform' => '<XML_ARRAY>'];
505 
506  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
507  self::assertSame(
508  ['persistence' => ['storagePid' => '0,1,2,3']],
509  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
510  );
511  }
512 
517  {
519  $flexFormService = $this->getMockBuilder(FlexFormService::class)
520  ->setMethods(['convertFlexFormContentToArray'])
521  ->getMock();
522  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
523 
524  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
525  $this->mockContentObject->data = ['pi_flexform' => ''];
526 
527  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
528  self::assertSame(
529  ['persistence' => ['storagePid' => '98']],
530  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
531  );
532  }
533 
538  {
540  $flexFormService = $this->getMockBuilder(FlexFormService::class)
541  ->setMethods(['convertFlexFormContentToArray'])
542  ->getMock();
543  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
544 
545  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
546  $this->mockContentObject->data = ['pi_flexform' => ['persistence' => ['storagePid' => '0,1,2,3']]];
547 
548  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
549  self::assertSame(
550  ['persistence' => ['storagePid' => '0,1,2,3']],
551  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
552  );
553  }
554 
559  {
561  $flexFormService = $this->getMockBuilder(FlexFormService::class)
562  ->setMethods(['convertFlexFormContentToArray'])
563  ->getMock();
564  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
565 
566  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
567  $this->mockContentObject->data = ['pi_flexform' => []];
568 
569  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
570  self::assertSame(
571  ['persistence' => ['storagePid' => '98']],
572  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
573  );
574  }
575 
580  {
582  ‪$frontendConfigurationManager = $this->getAccessibleMock(
583  FrontendConfigurationManager::class,
584  ['getTypoScriptSetup'],
585  [],
586  '',
587  false
588  );
589  ‪$frontendConfigurationManager->_set('contentObject', $this->mockContentObject);
590  ‪$frontendConfigurationManager->_set('typoScriptService', $this->mockTypoScriptService);
591 
592  $this->mockTypoScriptService->expects(self::once())->method('convertTypoScriptArrayToPlainArray')->willReturn([
593  'persistence' => [
594  'storagePid' => '0,1,2,3'
595  ],
596  'settings' => [
597  'foo' => 'bar'
598  ],
599  'view' => [
600  'foo' => 'bar'
601  ],
602  ]);
603  ‪$frontendConfigurationManager->expects(self::any())->method('getTypoScriptSetup')->willReturn([
604  'plugin.' => [
605  'tx_ext_pi1.' => [
606  'persistence.' => [
607  'storagePid' => '0,1,2,3'
608  ],
609  'settings.' => [
610  'foo' => 'bar'
611  ],
612  'view.' => [
613  'foo' => 'bar'
614  ],
615  ]
616  ]
617  ]);
618 
619  $frameworkConfiguration = [
620  'extensionName' => 'ext',
621  'pluginName' => 'pi1',
622  'persistence' => [
623  'storagePid' => '1'
624  ],
625  'settings' => [
626  'foo' => 'qux'
627  ],
628  'view' => [
629  'foo' => 'qux'
630  ],
631  ];
632  self::assertSame(
633  [
634  'extensionName' => 'ext',
635  'pluginName' => 'pi1',
636  'persistence' => [
637  'storagePid' => '0,1,2,3',
638  ],
639  'settings' => [
640  'foo' => 'bar'
641  ],
642  'view' => [
643  'foo' => 'bar'
644  ],
645  ],
646  ‪$frontendConfigurationManager->_call('overrideConfigurationFromPlugin', $frameworkConfiguration)
647  );
648  }
649 }
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration
Definition: AbstractConfigurationManagerTest.php:18
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getControllerConfigurationReturnsEmptyArrayByDefault
‪getControllerConfigurationReturnsEmptyArrayByDefault()
Definition: FrontendConfigurationManagerTest.php:224
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured
‪storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured()
Definition: FrontendConfigurationManagerTest.php:368
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideStoragePidIfStartingPointIsSetOverridesCorrectly
‪overrideStoragePidIfStartingPointIsSetOverridesCorrectly()
Definition: FrontendConfigurationManagerTest.php:452
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreExtendedIfRecursiveSearchIsConfigured
‪storagePidsAreExtendedIfRecursiveSearchIsConfigured()
Definition: FrontendConfigurationManagerTest.php:304
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsStringAndEmpty
‪overrideConfigurationFromFlexFormChecksForDataIsStringAndEmpty()
Definition: FrontendConfigurationManagerTest.php:513
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration
‪getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()
Definition: FrontendConfigurationManagerTest.php:160
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsPluginConfiguration
‪getPluginConfigurationReturnsPluginConfiguration()
Definition: FrontendConfigurationManagerTest.php:125
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\mergeConfigurationIntoFrameworkConfigurationWorksAsExpected
‪mergeConfigurationIntoFrameworkConfigurationWorksAsExpected()
Definition: FrontendConfigurationManagerTest.php:429
‪TYPO3\CMS\Core\Service\FlexFormService
Definition: FlexFormService.php:25
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getContextSpecificFrameworkConfigurationCorrectlyCallsOverrideMethods
‪getContextSpecificFrameworkConfigurationCorrectlyCallsOverrideMethods()
Definition: FrontendConfigurationManagerTest.php:271
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromPluginOverridesCorrectly
‪overrideConfigurationFromPluginOverridesCorrectly()
Definition: FrontendConfigurationManagerTest.php:576
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest
Definition: FrontendConfigurationManagerTest.php:31
‪TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager
Definition: FrontendConfigurationManager.php:35
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsString
‪overrideConfigurationFromFlexFormChecksForDataIsString()
Definition: FrontendConfigurationManagerTest.php:488
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound
‪getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()
Definition: FrontendConfigurationManagerTest.php:79
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$mockContentObject
‪ContentObjectRenderer PHPUnit Framework MockObject MockObject $mockContentObject
Definition: FrontendConfigurationManagerTest.php:34
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$frontendConfigurationManager
‪FrontendConfigurationManager PHPUnit Framework MockObject MockObject AccessibleObjectInterface $frontendConfigurationManager
Definition: FrontendConfigurationManagerTest.php:38
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\setUp
‪setUp()
Definition: FrontendConfigurationManagerTest.php:47
‪TYPO3\CMS\Core\TypoScript\TypoScriptService
Definition: TypoScriptService.php:25
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsArray
‪overrideConfigurationFromFlexFormChecksForDataIsArray()
Definition: FrontendConfigurationManagerTest.php:534
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getTypoScriptSetupReturnsSetupFromTsfe
‪getTypoScriptSetupReturnsSetupFromTsfe()
Definition: FrontendConfigurationManagerTest.php:70
‪TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
Definition: ContentObjectRenderer.php:97
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getControllerConfigurationReturnsConfigurationStoredInExtconf
‪getControllerConfigurationReturnsConfigurationStoredInExtconf()
Definition: FrontendConfigurationManagerTest.php:239
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsExtensionConfiguration
‪getPluginConfigurationReturnsExtensionConfiguration()
Definition: FrontendConfigurationManagerTest.php:94
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels
‪storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels()
Definition: FrontendConfigurationManagerTest.php:398
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsArrayAndEmpty
‪overrideConfigurationFromFlexFormChecksForDataIsArrayAndEmpty()
Definition: FrontendConfigurationManagerTest.php:555
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList
‪overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList()
Definition: FrontendConfigurationManagerTest.php:470
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreExtendedIfRecursiveSearchIsConfiguredAndWithPidIncludedForNegativePid
‪storagePidsAreExtendedIfRecursiveSearchIsConfiguredAndWithPidIncludedForNegativePid()
Definition: FrontendConfigurationManagerTest.php:336
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$mockTypoScriptService
‪TypoScriptService PHPUnit Framework MockObject MockObject AccessibleObjectInterface $mockTypoScriptService
Definition: FrontendConfigurationManagerTest.php:42