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); } }
Updated by Markus Klein about 10 years ago
Can you push this as a patch to Gerrit?
Should be fine for 6.2 as well.
Tell me, if you need help.
Updated by Matthias Toscanelli about 10 years ago
I'm not sure on how to proceed to send a patch.
Is there documentation on this?
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38010
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38010
Updated by Nicole Cordes over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 39e0fd0a2c919da270cb49223433bcf95febbb10.
Actions