You are here

function wikitools_hijack_freelinking in Wikitools 6.2

Same name and namespace in other branches
  1. 5 wikitools.module \wikitools_hijack_freelinking()
  2. 6 wikitools.module \wikitools_hijack_freelinking()
  3. 7 wikitools.module \wikitools_hijack_freelinking()

Is the freelinking path hijacked?

3 calls to wikitools_hijack_freelinking()
wikitools_admin_settings in ./wikitools.admin.inc
Callback for wikitools settings form.
wikitools_menu in ./wikitools.module
Implementation of hook_menu().
wikitools_wikilink_drupal_path in ./wikitools.module
Build a Drupal path to link to a page.

File

./wikitools.module, line 265
A non-intrusive module to have some wiki-like behaviour.

Code

function wikitools_hijack_freelinking($value = NULL) {
  if (is_null($value)) {
    return variable_get('wikitools_hijack_freelinking', FALSE);
  }
  variable_set('wikitools_hijack_freelinking', $value);
}