drupal_alter() is a function that allows modules to alter the data structures used by other modules.
The function is used to invoke the implementation of hook_$type_alter()
made from other modules. Such hooks are used to allow third-party modules to alter the data used by a module, and they should replace the custom hooks before used on Drupal 5, where drupal_alter()
was not used.