You are here

function purl_disable in Persistent URL 7

Same name and namespace in other branches
  1. 6 purl.module \purl_disable()

Returns whether the current l/url call should use context rewriting or not

1 call to purl_disable()
purl_url_outbound_alter in ./purl.module
Implements hook_url_outbound_alter().

File

./purl.module, line 669

Code

function purl_disable($set = FALSE) {
  static $drop;
  if (!isset($drop)) {
    $drop = FALSE;
  }
  if ($set) {
    $drop = TRUE;
  }
  return $drop;
}