For now any module can define a directory hierarchy with custom demo content, for example images of cakes for a content type "cake" and images of "kittens" for a content type kitten.

However, in some cases, you need finer control of demo content, and php code might be needed. A hook system might be necessary for this.

Comments

alberto56’s picture

realistic_dummy_content.api.php already implements hooks, but requires that you define classes, which is a bit overkill for some situations. I'm thinking of hooks which simply allow you to override one field at a time.

alberto56’s picture

Status: Active » Closed (won't fix)

This is too vague an issue, I'm closing it.