Drupal function sequence

Drupal: 
technology: 

Drupal provokes lots of discussion and many of the discussions end up with a question about Drupal functions. they are good because they provide flexibility. The huge number confuses people. Some discussions stall at the point where you ask about their sequence. What happens first? What happens last?

Here is sequence information for one of the most commonly questioned areas. Most modules work on nodes. Most node modules intercept the node edit or view or both. The following pages show the function sequence for common situations.

The page show the functions in the node module. There are a lot of other functions called. When writing modules, the node related functions cause the most problems. Some of the node related hook functions do what you expect and some do not.