We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Deprecation: #85130 - $TSFE->getPageShortcut() moved to PageRepository
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-85130-TSFE-getPageShortcutMovedToPageRepository.html
.. include:: ../../Includes.txt
======================================================================
See :issue:85130
85130
Description
===========
The method :php:TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageShortcut() has been
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageShortcut()
moved to :php:TYPO3\CMS\Frontend\Page\PageRepository::getPageShortcut(), as it conceptually belongs in
TYPO3\CMS\Frontend\Page\PageRepository::getPageShortcut()
this class.
Impact
======
Calling the method will trigger a PHP :php:E_USER_DEPRECATED error.
E_USER_DEPRECATED
Affected Installations
======================
TYPO3 installations using the method directly in an extension.
Migration
=========
Switch the call :php:$GLOBALS['TSFE']->getPageShortcut() to :php:$GLOBALS['TSFE']->sys_page->getPageShortcut() to receive the exact
$GLOBALS['TSFE']->getPageShortcut()
$GLOBALS['TSFE']->sys_page->getPageShortcut()
same result without a deprecation message.
.. index:: Frontend, PHP-API, PartiallyScanned
The text was updated successfully, but these errors were encountered:
[TASK] Use method getPageShortcut directly from PageRepository
739e733
Resolves: #1063
[TASK] Use method getPageShortcut directly from PageRepository (#1594)
9b0e17d
sabbelasichon
Successfully merging a pull request may close this issue.
Deprecation: #85130 - $TSFE->getPageShortcut() moved to PageRepository
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-85130-TSFE-getPageShortcutMovedToPageRepository.html
.. include:: ../../Includes.txt
======================================================================
Deprecation: #85130 - $TSFE->getPageShortcut() moved to PageRepository
======================================================================
See :issue:
85130
Description
===========
The method :php:
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageShortcut()
has beenmoved to :php:
TYPO3\CMS\Frontend\Page\PageRepository::getPageShortcut()
, as it conceptually belongs inthis class.
Impact
======
Calling the method will trigger a PHP :php:
E_USER_DEPRECATED
error.Affected Installations
======================
TYPO3 installations using the method directly in an extension.
Migration
=========
Switch the call :php:
$GLOBALS['TSFE']->getPageShortcut()
to :php:$GLOBALS['TSFE']->sys_page->getPageShortcut()
to receive the exactsame result without a deprecation message.
.. index:: Frontend, PHP-API, PartiallyScanned
The text was updated successfully, but these errors were encountered: