function devel_shutdown

nittany7 devel.module devel_shutdown()
cis7 devel.module devel_shutdown()
mooc7 devel.module devel_shutdown()

Runs on shutdown to clean up and display developer information.

devel_boot() registers this function as a shutdown function. The bulk of the work is done in devel_shutdown_real().

14 string references to 'devel_shutdown'
admin_menu_js_cache in modules/contrib/admin_menu/admin_menu.module
Menu callback; Output administration menu for HTTP caching via AJAX request.
advanced_help_index_page in modules/contrib/advanced_help/advanced_help.module
Page callback to view the advanced help topic index.
advanced_help_search_view in modules/contrib/advanced_help/advanced_help.module
Page callback for advanced help search.
advanced_help_topic_page in modules/contrib/advanced_help/advanced_help.module
Page callback to view a help topic.
backup_file::transfer in modules/contrib/backup_migrate/includes/files.inc
Transfer file using http to client. Similar to the built in file_transfer, but it calls module_invoke_all('exit') so that temp files can be deleted.

... See full list

File

modules/contrib/devel/devel.module, line 1012

Code

function devel_shutdown() {
  // Register the real shutdown function so it runs later than other shutdown functions.
  drupal_register_shutdown_function('devel_shutdown_real');

  global $devel_run_id;
  $devel_run_id = devel_xhprof_is_enabled() ? devel_shutdown_xhprof() : NULL;
  if ($devel_run_id && function_exists('drush_log')) {
    drush_log('xhprof link: ' . devel_xhprof_link($devel_run_id, 'url'), 'notice');
  }
}