You are here

function flush_page_cache_get_path in Flush page cache 6

Same name and namespace in other branches
  1. 7 flush_page_cache.module \flush_page_cache_get_path()

Get the path for the current page without ?flush_page_cache=1 query param.

2 calls to flush_page_cache_get_path()
flush_page_cache_footer in ./flush_page_cache.module
Implementation of hook_footer().
flush_page_cache_get_url in ./flush_page_cache.module
Get the full URL for the current page without ?flush_page_cache=1 query param.

File

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

Code

function flush_page_cache_get_path() {
  return parse_url(request_uri(), PHP_URL_PATH);
}