I need to programmatically import a block to existing view with its settings.
I know how to export the whole view and import it programmatically. But I don't want to export whole view and then import whole view. In my view there is 25 blocks, so it gives me 4000 lines of code to import. I can copy export code only of my new block. But how to import only this part of code to the existing view? Is that possible? I can't find any solutions.