You are here

function purl_disable in Persistent URL 6

Same name and namespace in other branches
  1. 7 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
Implementation of hook_url_outbound_alter().

File

./purl.module, line 682

Code

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