function _neutral_paths_should_fix in Neutral paths 7
Tests if we should make an alias referencing a given source language neutral.
2 calls to _neutral_paths_should_fix()
- neutral_paths_path_insert in ./neutral_paths.module 
- Fixes new aliases.
- neutral_paths_path_update in ./neutral_paths.module 
- Fixes updated aliases.
File
- ./neutral_paths.module, line 181 
- Neutral paths.
Code
function _neutral_paths_should_fix($source) {
  $types = variable_get("neutral_paths_fix_new", array());
  $type = explode('/', $source);
  $type = $type[0];
  return in_array($type, $types);
}