function wikitools_options in Wikitools 6.2
Same name and namespace in other branches
- 5 wikitools.module \wikitools_options()
- 6 wikitools.module \wikitools_options()
- 7 wikitools.module \wikitools_options()
Various wikitool options.
9 calls to wikitools_options()
- wikitools_admin_settings in ./
wikitools.admin.inc - Callback for wikitools settings form.
- wikitools_auto_redirect in ./
wikitools.module - Is automatic redirection activated?
- wikitools_delete_protection in ./
wikitools.module - Is delete protection activated?
- wikitools_enforce_unique_titles in ./
wikitools.module - Are unique titles enforced?
- wikitools_move_protection in ./
wikitools.module - Is move protection activated?
File
- ./
wikitools.module, line 162 - A non-intrusive module to have some wiki-like behaviour.
Code
function wikitools_options($value = NULL) {
if (is_null($value)) {
return variable_get('wikitools_options', array(
'node creation',
'node search',
'unique titles',
'underscore as space',
));
}
return variable_set('wikitools_options', $value);
}