You are here

function admin_menu_exit in Administration menu 6

Implementation of hook_exit().

4 calls to admin_menu_exit()
AdminMenuLinksTestCase::setUp in tests/admin_menu.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
AdminMenuModulesTestCase::setUp in tests/admin_menu.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
AdminMenuPermissionsTestCase::setUp in tests/admin_menu.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
admin_menu_drush_exit in ./admin_menu.drush.inc
Implments hook_drush_exit()
1 string reference to 'admin_menu_exit'
admin_menu_drush_exit in ./admin_menu.drush.inc
Implments hook_drush_exit()

File

./admin_menu.module, line 143
Renders a menu tree for administrative purposes as a dropdown menu at the top of the window.

Code

function admin_menu_exit() {

  // Check for the flag indicating that we need to rebuild.
  if (admin_menu_rebuild_links()) {
    module_load_include('inc', 'admin_menu');
    _admin_menu_rebuild_links();
  }
}