Classes/Controller/ContentElements/QuickNavigationContentElementController.php
public function indexAction() {
    $settings = $this->settings;

    $primaryItems     = [];
    $primaryItemsUids = GeneralUtility::intExplode(',', $settings['primaryItems'], true);

    foreach($primaryItemsUids as $uid) {
      $primaryItems[] = $this->quickNavigationItemRepository->findByUid($uid);
    }

    $secondaryItems     = [];
    $secondaryItemsUids = GeneralUtility::intExplode(',', $settings['secondaryItems'], true);

    foreach($secondaryItemsUids as $uid) {
      $secondaryItems[] = $this->quickNavigationItemRepository->findByUid($uid);
    }

    $this->view->assign('settings', $settings);
    $this->view->assign('primaryItems', $primaryItems);
    $this->view->assign('secondaryItems', $secondaryItems);
  }
public function indexAction() {
    $settings = $this->settings;

    $primaryItems     = [];
    $primaryItemsUids = GeneralUtility::intExplode(',', $settings['primaryItems'], true);

    foreach($primaryItemsUids as $uid) {
      $primaryItems[] = $this->quickNavigationItemRepository->findByUid($uid);
    }

    $secondaryItems     = [];
    $secondaryItemsUids = GeneralUtility::intExplode(',', $settings['secondaryItems'], true);

    foreach($secondaryItemsUids as $uid) {
      $secondaryItems[] = $this->quickNavigationItemRepository->findByUid($uid);
    }

    $this->view->assign('settings', $settings);
    $this->view->assign('primaryItems', $primaryItems);
    $this->view->assign('secondaryItems', $secondaryItems);
  }
The index action.