I have created a module by customizing FlyViews module to fetch data from a third party API and render via a View. I have been successful in showing the data on a page but the data has merely one style, that is, fields. Now I want to render that content as nodes of a specific content type. That content type will be configured in the module's configuration page. Once I mention a content type, the content should be rendered as nodes of that type.
Even a hardcoded solution will work for me, but it would be nice if I could select the Show option (on Views configuration page) as Content, just as I can do for a regular View.
I have implemented the custom row plugin which is now visible in Views UI as Show option under Format. Selecting the option and saving shows the output from my plugin's
render() method. This is as far as I could get without help. Any ideas how can I manipulate
render() to actually render the external content as nodes/entities?