Deprecation: #94953 - Edit panel related frontend functionality¶
See forge#94953
Description¶
With the extraction of the "feedit" extension from TYPO3 core in v10 a couple of TypoScript related properties have been rendered unused. Extensions that provide a frontend editing approach should implement these on their own.
The following TypoScript properties have been marked as deprecated and will be removed in TYPO3 v12:
stdWrap.editPanel
stdWrap.editPanel.
stdWrap.editIcons
stdWrap.editIcons.
EDITPANEL
content object
Related PHP code has been marked as deprecated:
Method
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_editIcons()
- scannedMethod
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_editPanel()
- scannedMethod
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->editPanel()
- scannedMethod
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->editIcons()
- scannedMethod
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->isDisabled()
- not scannedClass
TYPO3\CMS\Frontend\ContentObject\EditPanelContentObject
- scannedHook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']
- scanned, loggedProperty
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController.php->displayEditIcons
- scannedProperty
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController.php->displayFieldEditIcons
- scannedMethod
TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_getEditPanel()
- scanned, loggedMethod
TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_getEditIcon()
- scanned, loggedProperty
TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_EPtemp_cObj
- scanned
Impact¶
Some of the method usages will trigger a PHP E_USER_DEPRECATED
error upon use. The
core extension EXT:fluid_styled_content still sets stdWrap.editPanel and
stdWrap.editIcons properties for content elements, so the known frontend editing
related extensions EXT:feedit and EXT:frontend_editing will continue to work
in v11. Those properties will be removed with v12.
Affected Installations¶
Instances that use frontend editing extensions - most notably EXT:feedit or EXT:frontend_editing - may see deprecated functionality being logged. The extension scanner will find PHP usages. Using the TypoScript properties is not logged.
Migration¶
Frontend editing related extensions like EXT:feedit and EXT:frontend_editing
should no longer rely on core provided preparation. The stdWrap functionality
can be integrated with stdWrap related hooks, the EDITPANEL
cObj can be registered
as extension provided content object, which obsoleted the use of the
typo3/classes/class.frontendedit.php
hook.