You are here

function system_admin_menu_cache_info in Administration menu 6.3

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

Implements hook_admin_menu_cache_info() on behalf of System module.

File

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

Code

function system_admin_menu_cache_info() {
  $caches = array(
    'assets' => t('CSS and JavaScript'),
    'cache' => t('Page and else'),
    'menu' => t('Menu'),
    'theme' => t('Theme registry'),
  );
  foreach ($caches as $name => $cache) {
    $caches[$name] = array(
      'title' => $cache,
      'callback' => '_admin_menu_flush_cache',
    );
  }
  return $caches;
}