function theme_flush_page_cache_link in Flush page cache 6
Same name and namespace in other branches
- 7 flush_page_cache.module \theme_flush_page_cache_link()
Outputs 'flush page cache' link which is added to a site's footer message.
2 theme calls to theme_flush_page_cache_link()
- flush_page_cache_block in ./
flush_page_cache.module - Implementation of hook_block().
- flush_page_cache_preprocess_page in ./
flush_page_cache.module - Implementation of hook_preprocess_page().
File
- ./
flush_page_cache.module, line 245 - Easing the pain when you need to flush...Drupal's cache.
Code
function theme_flush_page_cache_link() {
$options = array(
'query' => 'flush_page_cache=1',
'attributes' => array(
'class' => 'flush-page-cache',
),
'external' => TRUE,
);
return l(t('Flush page cache'), flush_page_cache_get_url(), $options);
}