function wikitools_hijack_freelinking in Wikitools 5
Same name and namespace in other branches
- 6.2 wikitools.module \wikitools_hijack_freelinking()
- 6 wikitools.module \wikitools_hijack_freelinking()
- 7 wikitools.module \wikitools_hijack_freelinking()
Is the freelinking path hijacked?
4 calls to wikitools_hijack_freelinking()
- wikitools_admin_settings in ./
wikitools.module - Builder function for settings form.
- wikitools_menu in ./
wikitools.module - Implementation of hook_menu().
- wikitools_requirements in ./
wikitools.module - Implementation of hook_requirements().
- wikitools_wikilink_drupal_path in ./
wikitools.module - Build a Drupal path to link to a page.
File
- ./
wikitools.module, line 454 - 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', TRUE);
}
variable_set('wikitools_hijack_freelinking', $value);
}