You are here

function flush_page_cache_block_view in Flush page cache 7

Implements hook_block_view().

File

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

Code

function flush_page_cache_block_view($delta = '') {
  if (user_access('flush page cache')) {
    return array(
      'content' => theme('flush_page_cache_link'),
    );
  }
  else {
    return NULL;
  }
}