function wikitools_hijack_freelinking in Wikitools 6
Same name and namespace in other branches
- 5 wikitools.module \wikitools_hijack_freelinking()
 - 6.2 wikitools.module \wikitools_hijack_freelinking()
 - 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 250  - 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);
}