(Generated by MShopConfigDocTask)
m (1 revision imported)
Excludes decorators added by the "common" option from the JSON API clients
client/jsonapi/supplier/decorators/excludes = Array ( )
Decorators extend the functionality of a class by adding new aspects (e.g. log what is currently done), executing the methods of the underlying class only in certain conditions (e.g. only for logged in users) or modify what is returned to the caller.
This option allows you to remove a decorator added via "client/jsonapi/common/decorators/default" before they are wrapped around the JsonApi client.
client/jsonapi/decorators/excludes = array( 'decorator1' )
This would remove the decorator named "decorator1" from the list of common decorators ("\Aimeos\Client\JsonApi\Common\Decorator\*") added via "client/jsonapi/common/decorators/default" for the JSON API client.
How to adapt the configuration: