I'm writing a little module which should simplify creating a new view proccess for my site manager. What I want to do is to create a form, where the editor can fill some options (like title, path, some specific values for filtering etc) and then my code has to insert those options in my view template and import it to the database like a noraml view created via UI.
But as I understood, hook_views_default_value just loads the ready view item which is conteined in the module. But i want to create a new one each time with the same template. How can i do this?
Will be very appreciated for any advice.