Commit 031d0f6c authored by alexpott's avatar alexpott

Issue #2361795 by rpayanm: Remove decode_entities.

parent d3516dde
......@@ -187,22 +187,6 @@ function mime_header_decode($header) {
return Unicode::mimeHeaderDecode($header);
}
/**
* Decodes all HTML entities (including numerical ones) to regular UTF-8 bytes.
*
* @param $text
* The text to decode entities in.
*
* @return string
* The input $text, with all HTML entities decoded once.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
* Use \Drupal\Component\Utility\String::decodeEntities().
*/
function decode_entities($text) {
return String::decodeEntities($text);
}
/**
* Counts the number of characters in a UTF-8 string.
*
......
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