[BUGFIX] Unresolved dependencies uses old flashmessage styling
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register extension list update task
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Extensionmanager\\Task\\UpdateExtensionListTask'] = array(
6 'extension' => $_EXTKEY,
7 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.name',
8 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.description',
9 'additionalFields' => '',
10 );
11
12 if (TYPO3_MODE === 'BE') {
13 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'TYPO3\\CMS\\Extensionmanager\\Command\\ExtensionCommandController';
14 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
15 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
16 $signalSlotDispatcher->connect(
17 'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
18 'willInstallExtensions',
19 'TYPO3\\CMS\\Core\\Package\\PackageManager',
20 'scanAvailablePackages'
21 );
22 $signalSlotDispatcher->connect(
23 'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
24 'hasInstalledExtensions',
25 'TYPO3\\CMS\\Core\\Package\\PackageManager',
26 'updatePackagesForClassLoader'
27 );
28 $signalSlotDispatcher->connect(
29 'TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility',
30 'tablesDefinitionIsBeingBuilt',
31 'TYPO3\\CMS\\Core\\Cache\\Cache',
32 'addCachingFrameworkRequiredDatabaseSchemaToTablesDefinition'
33 );
34 $signalSlotDispatcher->connect(
35 'TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility',
36 'tablesDefinitionIsBeingBuilt',
37 'TYPO3\\CMS\\Core\\Category\\CategoryRegistry',
38 'addExtensionCategoryDatabaseSchemaToTablesDefinition'
39 );
40 }
41 }