Hello.
I'm developing a custom module and need to disable a view from another module.
Manually view can be set inactive from: Settings->Technical->User Interface->Views. Then select the view and uncheck active checkbox.
What is the best way to do it?
Thanks.