You are here

function admin_tools_menu in Admin Tools 6

Implementation of hook_menu().

File

./admin_tools.module, line 5

Code

function admin_tools_menu() {
  $items['admin/flush-cache/%'] = array(
    'title' => t('Clear Cache'),
    'page callback' => 'admin_tools_flush_cache',
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      2,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}