1.12.x admin_bar.module admin_bar_flush_caches()
1.10.x admin_bar.module admin_bar_flush_caches()
1.11.x admin_bar.module admin_bar_flush_caches()
1.7.x admin_bar.module admin_bar_flush_caches()

Implements hook_flush_caches().

Flushes client-side caches.

File

modules/admin_bar/admin_bar.module, line 535
Render an administrative bar as a dropdown menu at the top of the window.

Code

function admin_bar_flush_caches() {
  // Flush client-side cache hashes.
  backdrop_static_reset('admin_bar_cache_get');

  // Flush cached output of admin_bar.
  return array('cache_admin_bar');
}