Page 1 of 1

Aimeos Setup Task replace

Posted: 23 Jul 2019, 13:02
by tenkraD
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

Re: Aimeos Setup Task replace

Posted: 23 Jul 2019, 21:22
by aimeos
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?