Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us//ExtensionArchitecture/HowTo/BackendModule/CreateModuleWithExtbase.html #5058

Open
georgringer opened this issue Nov 19, 2024 · 5 comments
Assignees

Comments

@georgringer
Copy link
Contributor

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');
    }
@linawolf
Copy link
Member

@georgringer can you hint me at what Core change caused this to change?

@linawolf linawolf self-assigned this Nov 23, 2024
@georgringer
Copy link
Contributor Author

IMO there is not a single commit but this is how it is currently now done in core

@linawolf
Copy link
Member

@georgringer Since when does it work this way? Is a backport to 13.4 needed? also to 12.4?

@georgringer
Copy link
Contributor Author

i just used the example in 13.4 and didn't work, therefore I guess at least 13.4

@linawolf
Copy link
Member

I think this is the same issue: #4962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants