Problem on https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us//ExtensionArchitecture/HowTo/BackendModule/CreateModuleWithExtbase.html
It seems the content about new backend modules with extbase is outdated.
a working example would be
public function indexAction(): ResponseInterface
{
$viewVariables = [
'fo' => [],
];
return $this->moduleTemplateFactory
->create($this->request)
->setFlashMessageQueue($this->getFlashMessageQueue())
->setTitle('A title')
->assignMultiple($viewVariables)
->renderResponse('AdminModule/Index');
}
@georgringer can you hint me at what Core change caused this to change?
IMO there is not a single commit but this is how it is currently now done in core
@georgringer Since when does it work this way? Is a backport to 13.4 needed? also to 12.4?
i just used the example in 13.4 and didn't work, therefore I guess at least 13.4
I think this is the same issue: https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/issues/4962
Solved with #5080