mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[TASK] Streamline ext_localconf.php and ext_tables.php
The goal is to minimize TYPO3_MODE usage in ext_localconf and ext_tables and provide a clear process for extension developers where to put what. This extension streamlines the whole usage within all system extensions, and documents the expected behaviour of all third-party extensions, which will also be included in docs.typo3.org. Resolves: #82692 Releases: master Change-Id: Id83ff0dfc6198564443f2f42e273bcd4f6f25e3e Reviewed-on: https://review.typo3.org/52533 Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Susanne Moog <susanne.moog@typo3.org> Tested-by: Susanne Moog <susanne.moog@typo3.org>
This commit is contained in:
parent
926e1e7f7d
commit
cccc6a3bf9
1 changed files with 6 additions and 8 deletions
|
@ -4,11 +4,9 @@ defined('TYPO3_MODE') or die();
|
||||||
// Register the edit panel view.
|
// Register the edit panel view.
|
||||||
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = \TYPO3\CMS\Feedit\FrontendEditPanel::class;
|
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = \TYPO3\CMS\Feedit\FrontendEditPanel::class;
|
||||||
|
|
||||||
if (TYPO3_MODE === 'FE') {
|
|
||||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
|
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
|
||||||
\TYPO3\CMS\Backend\Controller\EditDocumentController::class,
|
\TYPO3\CMS\Backend\Controller\EditDocumentController::class,
|
||||||
'initAfter',
|
'initAfter',
|
||||||
\TYPO3\CMS\Feedit\FrontendEditAssetLoader::class,
|
\TYPO3\CMS\Feedit\FrontendEditAssetLoader::class,
|
||||||
'attachAssets'
|
'attachAssets'
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue