During module development, Drupal does not use all relevant information provided by a module on every HTTP request. Examples:
- Changes to an implementation of hook_menu() are only used after calling menu_rebuild().
- Changes to implementations of hook_node_access_records() and hook_node_grants() are only used after calling node_access_rebuild().
- Classes referenced in the
filesarray of the .info file are only rebuild after enabling the module. During module development, this means it has to be disabled first, along with all other modules that depend on it.
This list might not be exhaustive.
Is there a way to update all these information in the database in one go. Preferably via a Drush command?