You are here

function flush_page_cache_get_path in Flush page cache 7

Same name and namespace in other branches
  1. 6 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_get_url in ./flush_page_cache.module
Get the full URL for the current page without ?flush_page_cache=1 query param.
flush_page_cache_page_alter in ./flush_page_cache.module
Implements hook_page_alter().

File

./flush_page_cache.module, line 178
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);
}