You are here

function update_admin_menu_cache_info in Administration menu 8.3

Same name and namespace in other branches
  1. 6.3 admin_menu.inc \update_admin_menu_cache_info()
  2. 7.3 admin_menu.inc \update_admin_menu_cache_info()

Implements hook_admin_menu_cache_info() on behalf of Update module.

File

./admin_menu.inc, line 834
Menu builder functions for Administration menu.

Code

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