You are here

function cleanpager_check_match in Clean Pagination 6

Same name and namespace in other branches
  1. 5 cleanpager.module \cleanpager_check_match()
  2. 7 cleanpager.module \cleanpager_check_match()

Checks if the page should use clean pagination

2 calls to cleanpager_check_match()
cleanpager_init in ./cleanpager.module
Implementation of hook_init().
cleanpager_theme_pager_link in ./cleanpager.module
Override theme for a pager link

File

./cleanpager.module, line 87

Code

function cleanpager_check_match() {
  $q = cleanpager_path();
  if (drupal_match_path($q, variable_get('cleanpager_pages', ''))) {
    _cleanpager_rewrite_path();
    return $q;
  }
  return FALSE;
}