Actions
Feature #61306
closedHaving a hook at end of extension install
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-02
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
It would be great to have a hook call at end of extension install.
This could be used for:- Configuring a distribution installation (like renaming some imported file in fileadmin)
- Append some file to architecture out of "fileadmin/"
- Conditional stuff
- ...
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php (line 115)
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php']['InstallUtility-PostInstall'])) { $_params = array('extensionKey' => $extensionKey, 'pObj' => &$this); foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php']['InstallUtility-PostInstall'] as $_funcRef) { \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($_funcRef,$_params, $this); } }
Actions