* @link https://www.oxidmodule.com */ namespace D3\DataWizardTasks\Modules\DataWizard\Application\Model; use D3\DataWizard\Application\Model\Configuration as ConfigurationParent; use D3\DataWizardTasks\Application\Model\Actions\FixArtextendsItems; use D3\DataWizardTasks\Application\Model\Actions\FixWysiwygSpecialChars; use D3\DataWizardTasks\Application\Model\Exports\DestroyedWysiwygSpecialChars; use D3\DataWizardTasks\Application\Model\Exports\InactiveCategories; use D3\DataWizardTasks\Application\Model\Exports\KeyFigures; use FormManager\Builder; use FormManager\Factory; class Configuration extends Configuration_parent { public function configure() { parent::configure(); $this->registerAction( ConfigurationParent::GROUP_ARTICLES, oxNew( FixArtextendsItems::class)); $this->registerAction( ConfigurationParent::GROUP_CMS, oxNew( FixWysiwygSpecialChars::class)); $this->registerExport( ConfigurationParent::GROUP_CATEGORY, oxNew( InactiveCategories::class)); // incompatible FormManager 5.x if (false === class_exists(Builder::class) && class_exists(Factory::class)) { $this->registerExport( ConfigurationParent::GROUP_SHOP, oxNew( KeyFigures::class ) ); } $this->registerExport( ConfigurationParent::GROUP_CMS, oxNew( DestroyedWysiwygSpecialChars::class)); } }