Hi all.
I am looking for a standardized way to add contents such as any type of nodes into an installation profile.
Suppose you wanna build an instal profile that creates some pages and a contact form, you have to add this pages as arrays and use a function like node_save to add them into the database. This make the profile file really long or you have to split it into more than one file (but it seems there's no standard way to manage them).
Symfony call this feature "fixtures" and does it in a quite elegant way, using yaml and enabling the developer of using php directly into this yml file for loops and subroutines.
Any solution for doing that with drupal?