Skip to content

Commit

Permalink
[BUGFIX] Set missing module title
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Suter committed May 2, 2023
1 parent c0d2006 commit e76f8e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Controller/TestingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ public function defaultAction(): ResponseInterface
);

$moduleTemplate = $this->moduleTemplateFactory->create($this->request);
$moduleTemplate->setTitle(
$this->getLanguageService()->sL('LLL:EXT:svconnector/Resources/Private/Language/locallang.xlf:title')
);
$moduleTemplate->setModuleClass($this->request->getPluginName() . '_' . $this->request->getControllerName());
$moduleTemplate->setFlashMessageQueue($this->getFlashMessageQueue());
$moduleTemplate->setContent($this->view->render());
Expand Down

0 comments on commit e76f8e3

Please sign in to comment.