1 update.module update_admin_bar_cache_info()

Implements hook_admin_bar_cache_info().

Related topics

File

core/modules/update/update.module, line 739
Handles update checking for Backdrop core and contributed projects.

Code

function update_admin_bar_cache_info() {
  $caches['update'] = array(
    'title' => t('Update data'),
    'callback' => '_update_cache_clear',
  );
  return $caches;
}