Question

Is there a possibility to configure/create views in an installation profile? I have been searching on the internet for quite some time now but I can't find any info about this.

Was it helpful?

Solution

Yes. I think the best option would be manage your View in code (represented as a custom module). See this blogpost for an example.

OTHER TIPS

Yes. You can use Features module to export your view In a module and just enable this module in installation profile, or you can rather implement hook_views_default_views and have a default view exported in code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top