1 admin_bar.module admin_bar_flush_caches()

Implements hook_flush_caches().

Flushes client-side caches.

File

core/modules/admin_bar/admin_bar.module, line 660
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');
}