Aimeos Setup Task replace

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Aimeos Setup Task replace

Post by tenkraD » 23 Jul 2019, 13:02

Hy all,

i wrote my own locale manager and item.
This manager i want to use in his setup task.
So question is how can i replace existing
ext\aimeos\Resources\Libraries\aimeos\aimeos-core\lib\mshoplib\setup\MShopAddLocaleData.php
with my own implementation?

Is this possible over configuration or in manifest file of my extension?

Many thanks tenkraD

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Aimeos Setup Task replace

Post by aimeos » 23 Jul 2019, 21:22

Sorry, setup tasks are the only classes you can't overwrite in Aimeos :-/
Maybe it would be a solution if you can add a replaces() method and the setup process removes the task name that is returned by the method?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply