Commit 996fb572 authored by catch's avatar catch

Issue #2093167 by johnnydarkko, thedavidmeister, Vibjerg: Deprecate...

Issue #2093167 by johnnydarkko, thedavidmeister, Vibjerg: Deprecate check_plain(), call \Drupal\Component\Utility\String::checkPlain() directly instead.
parent cc7cae5f
......@@ -1374,6 +1374,9 @@ function format_string($string, array $args = array()) {
* @see \Drupal\Component\Utility\String::checkPlain()
* @see drupal_validate_utf8()
* @ingroup sanitization
*
* @deprecated as of Drupal 8.0. Use
* Drupal\Component\Utility\String::checkPlain() directly instead.
*/
function check_plain($text) {
return String::checkPlain($text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment