more module updates

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-20 18:02:17 +02:00
parent 37fbabab56
commit 7c85261e56
100 changed files with 6518 additions and 913 deletions

View File

@ -0,0 +1,22 @@
<?php
/**
* @file
* Documents Transliteration's hooks for api reference.
*/
/**
* Alters a file name before transliteration and sanitization.
*
* @param &$filename
* The file name before being parsed by transliteration.
*
* @param $source_langcode
* Optional ISO 639 language code that denotes the language of the input.
*
* @see transliteration_clean_filename()
*/
function hook_transliteration_clean_filename_prepare_alter(&$filename, $source_langcode) {
$filename = drupal_strtolower($filename);
$filename = str_ireplace(array('&amp; ', '& '), 'and ', $filename);
}