[TASK] Streamline Admin Panel
[Packages/TYPO3.CMS.git] / typo3 / sysext / feedit / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register the edit panel view.
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = \TYPO3\CMS\Feedit\FrontendEditPanel::class;
6
7 if (TYPO3_MODE === 'FE') {
8 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
9 \TYPO3\CMS\Backend\Controller\EditDocumentController::class,
10 'initAfter',
11 \TYPO3\CMS\Feedit\FrontendEditAssetLoader::class,
12 'attachAssets'
13 );
14 }