function wikitools_wiki_path in Wikitools 7
Same name and namespace in other branches
- 5 wikitools.module \wikitools_wiki_path()
- 6.2 wikitools.module \wikitools_wiki_path()
- 6 wikitools.module \wikitools_wiki_path()
Drupal path of wiki.
4 calls to wikitools_wiki_path()
- wikitools_admin_settings in ./
wikitools.admin.inc - Callback for wikitools settings form.
- wikitools_handle_request in ./
wikitools.pages.inc - Menu callback for wiki path. This function is called if a page without an alias is called below the wiki path.
- wikitools_menu in ./
wikitools.module - Implements hook_menu().
- wikitools_wikilink_drupal_path in ./
wikitools.module - Build a Drupal path to link to a page.
File
- ./
wikitools.module, line 80 - A non-intrusive module to have some wiki-like behaviour.
Code
function wikitools_wiki_path($value = NULL) {
if (is_null($value)) {
return variable_get('wikitools_path', 'wiki');
}
variable_set('wikitools_path', $value);
}