solutionRepository = $solutionRepository; } /** * action show * * @return ResponseInterface */ /** * action list * * Intentionally empty: in headless mode the JSON is produced by * SolutionListJsonRenderer through TypoScript, so this action never runs. * It exists because configurePlugin() needs a target - same as * MarketController::listAction(). */ public function listAction(): ResponseInterface { return $this->htmlResponse(); } public function showAction(): ResponseInterface { $selectedSolutionId = (int)$this->settings['solution']; $solution = null; if ($selectedSolutionId) { $solution = $this->solutionRepository->findByUid($selectedSolutionId); } $this->view->assign('solution', $solution); return $this->htmlResponse(); } }