function _auto_nodetitle_token_replacement_escape in Automatic Nodetitles 7
Helper function to escape token replacements before evaluating PHP code.
1 string reference to '_auto_nodetitle_token_replacement_escape'
- _auto_nodetitle_patternprocessor in ./auto_nodetitle.module 
- Helper function to generate the title according to the settings.
File
- ./auto_nodetitle.module, line 204 
- Allows hiding of the node title field and automatic title creation.
Code
function _auto_nodetitle_token_replacement_escape(&$replacements, $data, $options) {
  foreach ($replacements as &$replacement) {
    $replacement = addslashes($replacement);
  }
}