You are here

function flush_page_cache_admin_menu in Flush page cache 6

Implementation of hook_admin_menu().

File

./flush_page_cache.module, line 52
Easing the pain when you need to flush...Drupal's cache.

Code

function flush_page_cache_admin_menu($deleted) {
  $icon_path = '<front>';
  $links = array();
  $links[] = array(
    'title' => "Flush this page's cache",
    'path' => 'admin_menu/flush-page-cache',
    'query' => 'destination',
    'parent_path' => $icon_path,
  );
  return $links;
}