You are here

function _auto_nodetitle_nohtmlentities in Automatic Nodetitles 7

Callback function to remove entities.

File

./auto_nodetitle.module, line 213
Allows hiding of the node title field and automatic title creation.

Code

function _auto_nodetitle_nohtmlentities(&$replacements, $data, $options) {
  foreach ($replacements as $key => $value) {
    $replacements[$key] = decode_entities($value);
  }
}