We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecdfdc commit 9ad252aCopy full SHA for 9ad252a
1 file changed
Classes/Component/Core/Demand/Augmentation/LanguageAugmentation.php
@@ -9,7 +9,6 @@
9
use In2code\In2publishCore\Component\Core\Demand\Type\SysRedirectDemand;
10
use In2code\In2publishCore\Component\Core\RecordTree\RecordTreeBuildRequest;
11
use In2code\In2publishCore\Event\DemandsWereCollected;
12
-use TYPO3\CMS\Core\Attribute\AsEventListener;
13
use TYPO3\CMS\Core\SingletonInterface;
14
15
use function array_map;
@@ -18,6 +17,10 @@
18
17
use function implode;
19
use function trim;
20
+/**
21
+ * This event listener listens to the event DemandsWereCollected and checks if there are languages in the request.
22
+ * If there are, it adds a language condition to the demands.
23
+ */
24
class LanguageAugmentation implements SingletonInterface
25
{
26
public ?RecordTreeBuildRequest $request = null;
0 commit comments