Skip to content

[TASK] Use request attribute instead of TSFE in page title API example #4930

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

Conversation

brotkrueml
Copy link
Contributor

The TypoScriptFrontendController has been marked as deprecated with TYPO3 v13.4. Therefore, this example has been adjusted to avoid calling TSFE methods.

Additionally:

  • The whole class is marked as readonly.
  • The "do something" comment is removed as it does not serve any purpose here.

Related: TYPO3-Documentation/Changelog-To-Doc#1074
Releases: main, 13.4

The TypoScriptFrontendController has been marked as deprecated with TYPO3 v13.4.
Therefore, this example has been adjusted to avoid calling TSFE methods.

Additionally:

- The whole class is marked as readonly.
- The "do something" comment is removed as it does not serve any purpose here.

Related: TYPO3-Documentation/Changelog-To-Doc#1074
Releases: main, 13.4
@brotkrueml brotkrueml added the backport 13.4 Backport to TYPO3v13 label Oct 28, 2024
@brotkrueml brotkrueml requested a review from linawolf October 28, 2024 17:43
@brotkrueml brotkrueml self-assigned this Oct 28, 2024
@linawolf linawolf merged commit 3d21b0f into TYPO3-Documentation:main Oct 28, 2024
7 checks passed
@brotkrueml brotkrueml deleted the remove-tsfe-from-page-title-api-example branch October 28, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 13.4 Backport to TYPO3v13
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants