1 system.admin.inc | system_transliterate_ajax($string = '') |
Ajax callback; Returns the transliterated version for a given string.
This callback takes an array of arguments from $_GET and passes them to system_transliterate_machine_name().
Parameters
$string: The string to be transliterated.
File
- core/
modules/ system/ system.admin.inc, line 3192 - Admin page callbacks for the System module.
Code
function system_transliterate_ajax($string = '') {
backdrop_add_http_header('Content-Type', 'text/plain');
$string = rawurldecode($string);
$string = system_transliterate_machine_name($string, $_GET);
print $string;
backdrop_exit();
}