function wikitools_options in Wikitools 6
Same name and namespace in other branches
- 5 wikitools.module \wikitools_options()
- 6.2 wikitools.module \wikitools_options()
- 7 wikitools.module \wikitools_options()
Various wikitool options.
8 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_enforce_unique_titles in ./wikitools.module 
- Are unique titles enforced?
- wikitools_move_protection in ./wikitools.module 
- Is move protection activated?
- wikitools_node_creation in ./wikitools.module 
- Is node creation activated?
File
- ./wikitools.module, line 154 
- A non-intrusive module to have some wiki-like behaviour.
Code
function wikitools_options() {
  $variable = variable_get('wikitools_options', drupal_map_assoc(array(
    'node creation',
    'node search',
    'unique titles',
    'underscore as space',
  )));
  if (!module_exists('search')) {
    unset($variable['node search']);
  }
  return $variable;
}