Issue #2361811 by rpayanm: Remove drupal_strtoupper.
parent
fdeda80d54
commit
232184b8f3
|
@ -220,23 +220,6 @@ function drupal_strlen($text) {
|
|||
return Unicode::strlen($text);
|
||||
}
|
||||
|
||||
/**
|
||||
* Uppercase a UTF-8 string.
|
||||
*
|
||||
* @param $text
|
||||
* The string to run the operation on.
|
||||
*
|
||||
* @return string
|
||||
* The string in uppercase.
|
||||
*
|
||||
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
|
||||
* Use \Drupal\Component\Utility\Unicode::strtoupper().
|
||||
* @ingroup php_wrappers
|
||||
*/
|
||||
function drupal_strtoupper($text) {
|
||||
return Unicode::strtoupper($text);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lowercase a UTF-8 string.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue