Issue #2297487 by er.pushpinderrana, marcingy: Remove the check_plain function.

8.0.x
webchick 2014-07-13 13:25:50 -07:00
parent 0e240bb7d5
commit 0ae0cdb946
1 changed files with 0 additions and 13 deletions

View File

@ -715,19 +715,6 @@ function format_string($string, array $args = array()) {
return String::format($string, $args);
}
/**
* Encodes special characters in a plain-text string for display as HTML.
*
* @see drupal_validate_utf8()
* @ingroup sanitization
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal\Component\Utility\String::checkPlain().
*/
function check_plain($text) {
return String::checkPlain($text);
}
/**
* Checks whether a string is valid UTF-8.
*