function transliteration_filefield_paths_field_postprocess in File (Field) Paths 6.2
Implements hook_filefield_paths_field_postprocess().
File
- modules/
transliteration.inc, line 19 - Transliteration module integration.
Code
function transliteration_filefield_paths_field_postprocess($value, $field, $settings) {
if ($settings['transliteration']) {
$values = explode('/', $value);
foreach ($values as &$value) {
$value = transliteration_clean_filename($value);
}
$value = implode('/', $values);
}
}