checkIf($processorConfiguration['if.'])) { return $processedData; } $request = $cObj->getRequest(); $pageInformation = $request->getAttribute('frontend.page.information'); $targetVariableName = $cObj->stdWrapValue('as', $processorConfiguration, 'content'); $contentAreas = $pageInformation->getPageLayout()?->getContentAreas(); $groupedContent = $this->eventDispatcher->dispatch( new AfterContentHasBeenFetchedEvent($contentAreas->getGroupedRecords($request), $request) )->groupedContent; $processedData[$targetVariableName] = $contentAreas->withUpdatedRecords($groupedContent); return $processedData; } }