How can i register JsonAdm Class from my extension?
Posted: 11 Jan 2019, 09:54
Im trying to register a rewritten class in the jsonadm/customer.
How can i do this in the config?
Normally i could set a name => "myclass" but this is not working here.
So i tried it with the decorator but i failed also with that.
I know the class is working cause if i replace the standard.php in aimeos ext it is working.
But i wanna be able to update aimeos without problems.
File: typo3conf/ext/myext/Resources/Private/Extensions/myext/config/admin.php
How can i do this in the config?
Normally i could set a name => "myclass" but this is not working here.
So i tried it with the decorator but i failed also with that.
I know the class is working cause if i replace the standard.php in aimeos ext it is working.
But i wanna be able to update aimeos without problems.
File: typo3conf/ext/myext/Resources/Private/Extensions/myext/config/admin.php
Code: Select all
<?php
return [
'jqadm' => [ ],
'jsonadm' => [
'customer' => [
'decorators' => [
'global' => ['myclassname'],
],
'name' => 'myclassname',
],
],
];