profiles

Creating content menus during installation

Sometimes, there is a tight line that separates content from configuration. It's really common to have pages that define a structure, but those pages are content. For example, if I want to create a blog, usually it has an "about" page, that is content, but it's also part of the structure of the page, that is usually considered configuration.

In Drupal, handling these between environments, can be quite troublesome. But there are solutions: you can create the empty nodes programmatically and add them to a menu: