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

[TASK] Modernize cObject "USER" example #1328

Merged

Conversation

brotkrueml
Copy link
Contributor

  • Avoid GeneralUtility::makeInstance(), use DI instead (has to be set public therefore)
  • Use newly introduced request attribute to retrieve current page ID as best practise

Releases: main

- Avoid GeneralUtility::makeInstance(), use DI instead (has to be set public therefore)
- Use newly introduced request attribute to retrieve current page ID as best practise

Releases: main
@brotkrueml brotkrueml self-assigned this Sep 9, 2024
@sfroemkenjw sfroemkenjw merged commit a944701 into TYPO3-Documentation:main Sep 9, 2024
4 checks passed
@linawolf
Copy link
Member

linawolf commented Sep 9, 2024

Do we need backports to 12.4 here?

@brotkrueml
Copy link
Contributor Author

Nope, not compatible with v12.

@brotkrueml brotkrueml deleted the modernize-cobj-user-example branch September 9, 2024 13:59
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

Successfully merging this pull request may close these issues.

3 participants