Hello there,
I am currently sitting on a problem where I need to disable a class from use. I would like this to be done by configuration keys, since it probably would be the easiest way, but sadly there's no option for classes to have configuration keys.
The class' code should not be usable/runnable when the "configuration key" is disabled, e.g. if a table method calls a static method on a 'disabled' class, I want it to return an error. I know limiting access to classes ran by menu items is quiet possible with privileges, duties and process cycles as well as code permissions, but that's not quiet what I'm looking for.
Thank you in advance for any help and kind regards!