#61306Having a hook at end of extension install
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);
}
}