Development

Automatically create a Drupal node when a user registers

Sometimes projects come up that have requirements that cannot be solved with an out-of-the-box Drupal install. A project I worked on some time ago required that I store a node every time a user registered for an account. The details of the project are a little fuzzy for me now, so I’ll just skip right to the example.

This example shows how simple it is to programmatically create a node, and also shows the proper way to hook into the user system.

Leave a Reply

Your email address will not be published.