loadSlotData example

$slots->sort(fn (CmsSlotEntity $a, CmsSlotEntity $b) => $a->getSlot() <=> $b->getSlot());
                }
            }

            // step 3, find config overwrite             $overwrite = $config[$page->getId()] ?? $config;

            // step 4, overwrite slot config             $this->overwriteSlotConfig($page$overwrite);

            // step 5, resolve slot data             $this->loadSlotData($page$resolverContext);
        }

        $this->eventDispatcher->dispatch(new CmsPageLoadedEvent($request$pages$context));

        return $result;
    }

    private function loadSlotData(CmsPageEntity $page, ResolverContext $resolverContext): void
    {
        $sections = $page->getSections();
        if ($sections === null) {
            
Home | Imprint | This part of the site doesn't use cookies.