Book Image

Learning Drupal 6 Module Development

Book Image

Learning Drupal 6 Module Development

Overview of this book

Table of Contents (14 chapters)
Learning Drupal 6 Module Development
Credits
About the Author
About the Reviewers
Preface

Summary


In this chapter, we explored the administration side of Drupal. We created a module that allows an administrator to send an email to a user directly from the user's account profile in Drupal. While creating this module, we took another look at hook_menu(), and also looked at a handful of new hooks. We created a new form plus form handling utilities using the Forms API. Using the Mail API we created and sent an email message, and looked at how to use altering hooks as well. Finally, using hook_user(), we added this new module to the user profile.

In the next chapter, we will continue building on the material we started here, but with a new module. We will create a new content type from scratch, and that will involve working more closely with the database layer.