function wikitools_disallowed_characters in Wikitools 5
Same name and namespace in other branches
- 6.2 wikitools.module \wikitools_disallowed_characters()
 - 6 wikitools.module \wikitools_disallowed_characters()
 - 7 wikitools.module \wikitools_disallowed_characters()
 
String of characters which are not allowed in a wiki page title.
2 calls to wikitools_disallowed_characters()
- wikitools_admin_settings in ./
wikitools.module  - Builder function for settings form.
 - wikitools_node_validate in ./
wikitools.module  - Validate check of node edit form.
 
File
- ./
wikitools.module, line 341  - A non-intrusive module to have some wiki-like behaviour.
 
Code
function wikitools_disallowed_characters($value = NULL) {
  if (is_null($value)) {
    return variable_get('wikitools_disallowed_characters', '[]{}|');
  }
  variable_set('wikitools_disallowed_characters', $value);
}