initial commit, from drupal7base

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-17 15:40:34 +01:00
commit e787137542
5750 changed files with 1170043 additions and 0 deletions
@@ -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);
}